<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>WP Engineer &#187; sql</title> <atom:link href="http://wpengineer.com/tag/sql/feed/" rel="self" type="application/rss+xml" /><link>http://wpengineer.com</link> <description>WordPress News, Hacks, Tipps, Tutorials, Plugins and Themes</description> <lastBuildDate>Wed, 28 Jul 2010 13:37:05 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=1969</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>WordPress Database Repair Script In 2.9</title><link>http://wpengineer.com/wordpress-database-repair-script-in-2-9/</link> <comments>http://wpengineer.com/wordpress-database-repair-script-in-2-9/#comments</comments> <pubDate>Fri, 13 Nov 2009 17:21:35 +0000</pubDate> <dc:creator>Frank</dc:creator> <category><![CDATA[WordPress News]]></category> <category><![CDATA[Constants]]></category> <category><![CDATA[sql]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[wp2.9]]></category><guid
isPermaLink="false">http://wpengineer.com/?p=1836</guid> <description><![CDATA[A little tip for all users of the existing beta of WordPress 2.9 and for all who wish to update soon to the new version. With version 2.9 WordPress conducts its own routine to optimize the database. Previously it was done by either Plugins or via SQL access. From the next version this function is [...]]]></description> <content:encoded><![CDATA[<p>A little tip for all users of the existing beta of WordPress 2.9 and for all who wish to update soon to the new version. With version 2.9 WordPress conducts its own routine to optimize the database. Previously it was done by either Plugins or via SQL access. From the next version this function is implemented in the core ...<br
/> <span
id="more-1836"></span><br
/> <a
href="http://wpengineer.com/blog/wp-content/uploads/wprdb11.png" class="liimagelink"><img
src="http://wpengineer.com/blog/wp-content/uploads/wprdb11-300x78.png" alt="wprdb1" title="wprdb1" width="300" height="78" class="aligncenter size-medium wp-image-1838" /></a></p><p>... which you can activate with the help of a constant; stored in <code>wp-config.php</code>, you have access to the script.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_ALLOW_REPAIR'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Call the script from the outside at the following address ...<br
/> <code>http://example.com/wp-admin/maint/repair.php</code></p><p>... where you either repair the database or run the optimization. Technically, there is no magic behind this work, but the familiar SQL statements <a
href="http://dev.mysql.com/doc/refman/5.1/en/analyze-table.html" class="liexternal"><code>ANALYZE TABLE</code></a>, <a
href="http://dev.mysql.com/doc/refman/5.1/en/repair-table.html" class="liexternal"><code>REPAIR TABLE</code></a> and <a
href="http://dev.mysql.com/doc/refman/5.1/en/optimize-table.html" class="liexternal"><code>OPTIMIZE TABLE</code></a>.</p><p><a
href="http://wpengineer.com/blog/wp-content/uploads/wprdb.png" class="liimagelink"><img
src="http://wpengineer.com/blog/wp-content/uploads/wprdb-300x127.png" alt="wprdb" title="wprdb" width="300" height="127" class="aligncenter size-medium wp-image-1841" /></a></p><p>I guess that will start a debate, why with the constant and why from the outside, etc. - leave your comment here. Alternatively, anyone can contribute to WordPress and discuss directly with the developers or enter changes directly to the code.<br
/><hr
/><h3>Related posts:</h3><ul><li><a
href="http://wpengineer.com/joomla-to-wordpress-content-converter/" rel="bookmark" title="Permanent Link: Joomla to WordPress &#8211; Content Converter!" class="liinternal">Joomla to WordPress &#8211; Content Converter!</a></li><li><a
href="http://wpengineer.com/joomla-fireboard-wordpress-wp-forum-converter/" rel="bookmark" title="Permanent Link: Joomla Fireboard to WordPress WP-FORUM Converter" class="liinternal">Joomla Fireboard to WordPress WP-FORUM Converter</a></li><li><a
href="http://wpengineer.com/use-constants-integrate-wordpress/" rel="bookmark" title="Permanent Link: Use Constants To Integrate WordPress In Other CMS" class="liinternal">Use Constants To Integrate WordPress In Other CMS</a></li><li><a
href="http://wpengineer.com/wordpress-database-functions/" rel="bookmark" title="Permanent Link: WordPress Database Functions" class="liinternal">WordPress Database Functions</a></li><li><a
href="http://wpengineer.com/wordpress-working-with-options/" rel="bookmark" title="Permanent Link: WordPress: Working With Options" class="liinternal">WordPress: Working With Options</a></li></ul><hr
/><p><img
style="float:left;" src="http://wpengineer.com/favicon.ico" alt="WP Engineer Favicon"/> Thanks for subscribing our feed! <a
href="http://buysellads.com/buy/detail/3646/" class="liexternal">Sponsor the WP Engineer Blog</a> and get your brand in front of several hundred users per day!<br
/> &copy; <a
href="http://wpengineer.com/" class="liinternal">WP Engineer Team</a>, All rights reserved <small>(Digital Fingerprint: WPEngineer-be0254ce2b4972feb4b9cb72034a092d)</small></p> ]]></content:encoded> <wfw:commentRss>http://wpengineer.com/wordpress-database-repair-script-in-2-9/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Database Caching 20/34 queries in 0.026 seconds using disk
Object Caching 456/519 objects using disk

Served from: wpengineer.com @ 2010-07-29 13:42:14 -->