<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<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/"
	>

<channel>
	<title>MySQL Dictionary</title>
	<link>http://www.mysqldictionary.com</link>
	<description>A Quick Reference For All Things MySQL</description>
	<pubDate>Tue, 27 Nov 2007 16:19:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>DRBD</title>
		<link>http://www.mysqldictionary.com/concepts/drbd</link>
		<comments>http://www.mysqldictionary.com/concepts/drbd#comments</comments>
		<pubDate>Tue, 27 Nov 2007 16:17:10 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Concepts]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/concepts/drbd</guid>
		<description><![CDATA[Description
DRBD is a high-availability solution for MySQL that combines MySQL, Linux Heartbeat and Distributed Replicated Block Device (DRBD) for a hot-standby solution that synchronously replicates MySQL data between the primary and secondary server.
The key benefit of DRBD over replication is that it enforces data synchronization between the primary and secondary machine, ensuring that the secondary [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Description</strong></p>
<p>DRBD is a high-availability solution for MySQL that combines MySQL, Linux Heartbeat and Distributed Replicated Block Device (DRBD) for a hot-standby solution that synchronously replicates MySQL data between the primary and secondary server.</p>
<p>The key benefit of DRBD over replication is that it enforces data synchronization between the primary and secondary machine, ensuring that the secondary machine has the exact same data as the primary at the time of failover. Replication depends on log shipping and has no guarantee of data synchronization.</p>
<p>DRBD is fully supported by MySQL AB for their enterprise customers.</p>
<p><strong>Further Reference</strong></p>
<p><a href="http://www.mysql.com/why-mysql/white-papers/mysql_wp_drbd.php">MySQL and DRBD High Availability Architectures</a> (Whitepaper, Registration required)</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/faqs-mysql-drbd-heartbeat.html">DRBD FAQ</a> (MySQL Reference Manual)</p>
<p><a href="http://www.mysql.com/news-and-events/on-demand-webinars/mysql-drbd-20070328.php">An Introduction to High Availability Architectures with MySQL and DRBD</a> (Webinar)</p>
<p><a href="http://mysqldump.azundris.com/archives/56-A-quick-tour-of-DRBD.html">A Quick Tour of DRBD </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/concepts/drbd/feed</wfw:commentRss>
		</item>
		<item>
		<title>1045</title>
		<link>http://www.mysqldictionary.com/error-codes/1045</link>
		<comments>http://www.mysqldictionary.com/error-codes/1045#comments</comments>
		<pubDate>Fri, 16 Nov 2007 23:51:02 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Client Error Codes]]></category>

		<category><![CDATA[Error Codes]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/error-codes/1045</guid>
		<description><![CDATA[ Definition
Error 1045 is returned when a user is denied permission to connect to the MySQL server.
Sample
[localhost]$ mysql
ERROR 1045 (28000): Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)
Resolution

If the message ends with  &#8216;(using password: NO)&#8217;, no password was specified while connecting. Add -p to the call to the mysql client:
mysql -p

If the username in [...]]]></description>
			<content:encoded><![CDATA[<p><strong> Definition</strong></p>
<p>Error 1045 is returned when a user is denied permission to connect to the MySQL server.</p>
<p><strong>Sample</strong></p>
<p>[localhost]$ mysql<br />
ERROR 1045 (28000): Access denied for user &#8216;root&#8217;@'localhost&#8217; (using password: NO)</p>
<p><strong>Resolution</strong></p>
<ul>
<li>If the message ends with  &#8216;(using password: <strong>NO</strong>)&#8217;, no password was specified while connecting. Add <strong>-p</strong> to the call to the mysql client:<br />
<blockquote><p>mysql -p</p></blockquote>
</li>
<li>If the username in the error message is not the one you need to use to connect to MySQL, specify the desired username with the <strong>-u</strong> flag:<br />
<blockquote><p>mysql -u mike -p</p></blockquote>
<p>When -u is omitted, the mysql client uses the logged-in username on the OS (root in the example above).</li>
<li>Authentication is based on a combination of user and the host being connected from (&#8217;root&#8217; connecting from &#8216;localhost&#8217; in the example above). Check that the connecting host listed is the one you have permission to connect from.</li>
<li>If you are connecting from the correct host using the correct username, it means that you are providing the wrong password or the user does not exist. See the Adding Users link in the following section.</li>
</ul>
<p><strong>Further Reference</strong></p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/access-denied.html">Causes of Access Denied Errors</a> (MySQL Reference Manual)</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/connecting.html">Connecting to the MySQL Server</a> (MySQL Reference Manual)</p>
<p><a href="http://dev.mysql.com/doc/refman/5.1/en/adding-users.html">Adding New User Accounts to MySQL</a> (MySQL Reference Manual)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/error-codes/1045/feed</wfw:commentRss>
		</item>
		<item>
		<title>SQL_CALC_FOUND_ROWS</title>
		<link>http://www.mysqldictionary.com/keywords/query-keywords/sql_calc_found_rows</link>
		<comments>http://www.mysqldictionary.com/keywords/query-keywords/sql_calc_found_rows#comments</comments>
		<pubDate>Tue, 13 Nov 2007 05:45:45 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Query Keywords]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/keywords/query-keywords/sql_calc_found_rows</guid>
		<description><![CDATA[Definition
The SQL_CALC_FOUND_ROWS keyword is used when the result set of a query will be restricted by a LIMIT clause, instructing the MySQL server to store the number of rows that would have been returned had the result set not been restricted. The stored value is exposed through the FOUND_ROWS() function.
Sample
In this example, we first produce [...]]]></description>
			<content:encoded><![CDATA[<h4>Definition</h4>
<p>The <strong>SQL_CALC_FOUND_ROWS</strong> keyword is used when the result set of a query will be restricted by a <strong>LIMIT</strong> clause, instructing the MySQL server to store the number of rows that would have been returned had the result set not been restricted. The stored value is exposed through the <strong>FOUND_ROWS()</strong> function.</p>
<h4>Sample</h4>
<p>In this example, we first produce a list of users, restricted with the LIMIT clause, then we retrieve the full count of users with the FOUND_ROWS() function:</p>
<blockquote>
<pre>
mysql&gt; SELECT SQL_CALC_FOUND_ROWS emailaddress FROM users LIMIT 10,3;
+-----------------------------+
| emailaddress                |
+-----------------------------+
|  ben.@foo.com               |
|  charlie@bar.com            |
|  aaron@baz.com              |
+-----------------------------+
5 rows in set (0.00 sec)mysql&gt;

SELECT FOUND_ROWS();
+--------------+
| FOUND_ROWS() |
+--------------+
|       435136 |
+--------------+
1 row in set (0.00 sec)</pre>
</blockquote>
<h4>Further Reference</h4>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/select.html">SELECT Syntax</a> - MySQL Reference Manual</p>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_found-rows">Found_Rows()</a> - MySQL Reference Manual</p>
<p><a href="http://72.14.253.104/search?q=cache:-GSj-4hVkEwJ:fuzzyblog.com/archives/2006/08/12/sql_calc_found_rows-and-faster-count-alternatives/+SQL_CALC_FOUND_ROWS&amp;hl=en&amp;ct=clnk&amp;cd=6&amp;gl=ca">Google Cache of Article on Improving COUNT(*) Performance</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/keywords/query-keywords/sql_calc_found_rows/feed</wfw:commentRss>
		</item>
		<item>
		<title>Proven Scaling</title>
		<link>http://www.mysqldictionary.com/companies/proven-scaling</link>
		<comments>http://www.mysqldictionary.com/companies/proven-scaling#comments</comments>
		<pubDate>Tue, 13 Nov 2007 05:26:09 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Companies]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/companies/proven-scaling</guid>
		<description><![CDATA[Description
Proven Scaling is a MySQL consulting company founded by Jeremy Cole and Eric Bergen. Jeremy and Eric both formerly worked at Yahoo! and Jeremy was previously over training at MySQL AB.
Proven Scaling provides a variety of services from performance consulting to training and is located in the United States.
Further Reference
Proven Scaling
Jeremy Cole&#8217;s blog
Eric Bergen&#8217;s blog
]]></description>
			<content:encoded><![CDATA[<p><strong>Description</strong></p>
<p>Proven Scaling is a MySQL consulting company founded by Jeremy Cole and Eric Bergen. Jeremy and Eric both formerly worked at Yahoo! and Jeremy was previously over training at MySQL AB.</p>
<p>Proven Scaling provides a variety of services from performance consulting to training and is located in the United States.</p>
<h4>Further Reference</h4>
<p><a href="http://www.provenscaling.com/">Proven Scaling</a></p>
<p><a href="http://jcole.us/blog/">Jeremy Cole&#8217;s blog</a></p>
<p><a href="http://ebergen.net/wordpress/">Eric Bergen&#8217;s blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/companies/proven-scaling/feed</wfw:commentRss>
		</item>
		<item>
		<title>Paul DuBois</title>
		<link>http://www.mysqldictionary.com/people/paul-dubois</link>
		<comments>http://www.mysqldictionary.com/people/paul-dubois#comments</comments>
		<pubDate>Tue, 09 Oct 2007 22:40:17 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[People]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/people/paul-dubois</guid>
		<description><![CDATA[Description
Paul DuBois is a Senior Technical Writer working for MySQL AB.
Paul is the author of several books related to MySQL:

MySQL (3rd Edition) (Developer&#8217;s Library)
MySQL Cookbook
MySQL 5.0 Certification Study Guide (MySQL Press)
MySQL and Perl for the Web (Landmark)

Paul has also authored technical books unrelated to MySQL:

Using csh &#38; tcsh (Nutshell Handbooks)
Software Portability with imake (Practical Software [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Description</strong></p>
<p>Paul DuBois is a Senior Technical Writer working for MySQL AB.</p>
<p>Paul is the author of several books related to MySQL:</p>
<ul>
<li><a href="http://www.amazon.com/gp/product/0672326736?ie=UTF8&amp;tag=mysqldictionary-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0672326736">MySQL (3rd Edition) (Developer&#8217;s Library)</a></li>
<li><a href="http://www.amazon.com/gp/product/059652708X?ie=UTF8&amp;tag=mysqldictionary-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=059652708X">MySQL Cookbook</a></li>
<li><a href="http://www.amazon.com/gp/product/0672328127?ie=UTF8&amp;tag=mysqldictionary-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0672328127">MySQL 5.0 Certification Study Guide (MySQL Press)</a></li>
<li><a href="http://www.amazon.com/gp/product/0735710546?ie=UTF8&amp;tag=mysqldictionary-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0735710546">MySQL and Perl for the Web (Landmark)</a></li>
</ul>
<p>Paul has also authored technical books unrelated to MySQL:</p>
<ul>
<li><a href="http://www.amazon.com/gp/product/1565921321?ie=UTF8&amp;tag=mysqldictionary-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1565921321">Using csh &amp; tcsh (Nutshell Handbooks)</a></li>
<li><a href="http://www.amazon.com/gp/product/1565922263?ie=UTF8&amp;tag=mysqldictionary-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1565922263">Software Portability with imake (Practical Software Engineering)</a></li>
</ul>
<p>Paul was a speaker at the 2003 MySQL Users Conference &amp; Expo on the subject of Using MySQL With Ruby.</p>
<h4>Further Reference</h4>
<p><a href="http://www.kitebird.com/">KiteBird.com</a> - Contains sample book chapters, presentation materials, articles by Paul Dubois</p>
<p><a href="http://www.mysql.com/news-and-events/users-conference/2003/session.html#Session:UsingMySQLwithRuby">Session entry in 2003 Users Conference Site</a></p>
<p><a href="http://www.snake.net/people/paul/">Home Page for Paul DuBois</a></p>
<p><a href="http://www.amazon.com/gp/search?ie=UTF8&amp;keywords=Paul%20DuBois&amp;tag=mysqldictionary-20&amp;index=books&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">Amazon List of Books by Paul DuBois</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/people/paul-dubois/feed</wfw:commentRss>
		</item>
		<item>
		<title>1033</title>
		<link>http://www.mysqldictionary.com/error-codes/1033</link>
		<comments>http://www.mysqldictionary.com/error-codes/1033#comments</comments>
		<pubDate>Fri, 17 Aug 2007 22:55:13 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Error Codes]]></category>

		<category><![CDATA[Server Error Codes]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/error-codes/1033</guid>
		<description><![CDATA[Definition
Error 1033 generally points to corruption of the .frm file for the table being queried. This can be caused by InnoDB reconfiguration, form file corruption, and permissions issued.
Sample

SELECT COUNT(*) FROM auth;
ERROR 1033 (HY000): Incorrect information in file: './auth/auth.frm

Resolution

 Check that the permissions on /tmp/ allow for reading and writing by the mysql user.
Stop MySQL, delete [...]]]></description>
			<content:encoded><![CDATA[<h4>Definition</h4>
<p>Error 1033 generally points to corruption of the <strong>.frm</strong> file for the table being queried. This can be caused by InnoDB reconfiguration, form file corruption, and permissions issued.</p>
<h4>Sample</h4>
<blockquote>
<pre>SELECT COUNT(*) FROM auth;
ERROR 1033 (HY000): Incorrect information in file: './auth/auth.frm</pre>
</blockquote>
<h4>Resolution</h4>
<ul>
<li> Check that the permissions on /tmp/ allow for reading and writing by the <strong>mysql</strong> user.</li>
<li>Stop MySQL, delete the <strong>ib_logfile0</strong> and <strong>ib_logfile1</strong> files from your MySQL datadir and start MySQL.</li>
<li>Restore from a backup.</li>
</ul>
<h4>Further Reference</h4>
<p><a href="http://72.14.253.104/search?q=cache:-3Xh5TETfWcJ:jon.doblados.net/2007/08/plesk-wont-start-after-tweaking-mysql.html+mysql+error+1033&amp;hl=en&amp;ct=clnk&amp;cd=23&amp;gl=ca">Explanation of Error 1033 in relation to InnoDB</a></p>
<p><a href="http://yettocome.blogspot.com/2006/08/mysql-error-no-1033-incorrect.html">Explanation of Error 1033 and /tmp/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/error-codes/1033/feed</wfw:commentRss>
		</item>
		<item>
		<title>17</title>
		<link>http://www.mysqldictionary.com/error-codes/17</link>
		<comments>http://www.mysqldictionary.com/error-codes/17#comments</comments>
		<pubDate>Thu, 16 Aug 2007 22:03:04 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Error Codes]]></category>

		<category><![CDATA[Server Error Codes]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/error-codes/17</guid>
		<description><![CDATA[Definition
Error 17 indicates that that either the MySQL server encountered an issue while trying to delete the directory containing the database to be dropped, or tried to create a temporary file that already existed during an ALTER TABLE statement.
Sample
mysql&#62; DROP DATABASE foo;
Error dropping database (can&#8217;t rmdir &#8216;./foo/&#8217;, errno: 17)
mysql&#62; ALTER TABLE foo &#8230;
Error on rename [...]]]></description>
			<content:encoded><![CDATA[<h4>Definition</h4>
<p>Error 17 indicates that that either the MySQL server encountered an issue while trying to delete the directory containing the database to be dropped, or tried to create a temporary file that already existed during an ALTER TABLE statement.</p>
<h4>Sample</h4>
<blockquote><p>mysql&gt; DROP DATABASE foo;<br />
Error dropping database (can&#8217;t rmdir &#8216;./foo/&#8217;, errno: 17)</p>
<p>mysql&gt; ALTER TABLE foo &#8230;<br />
Error on rename of &#8216;./bar/foo.frm&#8217; to &#8216;./bar/B-foo.frm&#8217; (Errcode: 17)</p></blockquote>
<h4>Resolution</h4>
<ul>
<li>Check that the user the MySQL server is running under has permission to delete the directory.</li>
<li>Check that there are no files in the directory that are not created by the MySQL server.</li>
<li>Browse to the MySQL data directory and delete all files whose names start with <strong>A-</strong> or <strong>B-</strong>.</li>
<li>Shut down MySQL, manually delete the directory listed.</li>
<li>Use the latest version of MySQL.</li>
<li>Use the mysqld-nt binaries when using Windows NT-based hosts.</li>
</ul>
<h4>Further Reference</h4>
<p><a href="http://bugs.mysql.com/bug.php?id=4866">Bug report related to Error 17 on bugs.mysql.com</a></p>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/perror.html">perror - Explain Error Codes (MySQL Reference Manual)</a></p>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/alter-table-problems.html">Problems with ALTER TABLE (MySQL Reference Manual) </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/error-codes/17/feed</wfw:commentRss>
		</item>
		<item>
		<title>WITH ROLLUP</title>
		<link>http://www.mysqldictionary.com/keywords/with-rollup</link>
		<comments>http://www.mysqldictionary.com/keywords/with-rollup#comments</comments>
		<pubDate>Tue, 14 Aug 2007 03:18:48 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Keywords]]></category>

		<category><![CDATA[Query Keywords]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/keywords/with-rollup</guid>
		<description><![CDATA[Definition
The WITH ROLLUP clause is used with GROUP BY queries to generate extra rows in the dataset that represent group totals. Summary rows will show NULL in the group column(s) being summarized. WITH ROLLUP will summarize multiple level of groupings, providing totals across each group level. The WITH ROLLUP clause was added in MySQL 4.1.1.
The [...]]]></description>
			<content:encoded><![CDATA[<h4>Definition</h4>
<p>The <strong>WITH ROLLUP</strong> clause is used with <strong>GROUP BY</strong> queries to generate extra rows in the dataset that represent group totals.<strong> </strong>Summary rows will show <strong>NULL</strong> in the group column(s) being summarized. <strong>WITH ROLLUP</strong> will summarize multiple level of groupings, providing totals across each group level. The <strong>WITH ROLLUP</strong> clause was added in MySQL 4.1.1.</p>
<p>The <strong>WITH ROLLUP</strong> clause cannot be used in a query with an <strong>ORDER BY</strong> clause. Summary columns can be manipulated in the query, allowing for functions like IFNULL() to be used to rename values in summary rows.</p>
<h4>Sample</h4>
<p>In this example, a query is performed to count customers in each city of each country, with summaries on a per-country and global basis. The per-country summary is identified by the presence of a NULL value in the city field, while the global summary is identified by the presence of a NULL value in both the city and country fields.</p>
<blockquote>
<pre>mysql&gt; SELECT country.country, city.city, COUNT(address_id)
-&gt; FROM country LEFT JOIN city USING (country_id)
-&gt; LEFT JOIN address USING (city_id)
-&gt; GROUP by country, city
-&gt; WITH ROLLUP;

| Yugoslavia                            | Kragujevac                 |      1 |
| Yugoslavia                            | Novi Sad                   |      1 |
| Yugoslavia                            | NULL                       |      2 |
| Zambia                                | Kitwe                      |      1 |
| Zambia                                | NULL                       |      1 |
| NULL                                  | NULL                       |    603 |
+---------------------------------------+----------------------------+--------+
710 rows in set (0.00 sec)</pre>
</blockquote>
<h4>Further Reference</h4>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/group-by-modifiers.html" title="GROUP BY Modifiers (MySQL Reference Manual)">GROUP BY Modifiers (MySQL Reference Manual)</a></p>
<p><a href="http://aspnet.4guysfromrolla.com/articles/073003-1.aspx">Summarizing Data with ROLLUP</a></p>
<p><a href="http://databases.about.com/od/sql/l/aacuberollup.htm">Summarizing Data with CUBE and ROLLUP</a></p>
<p><a href="http://aspnet.4guysfromrolla.com/articles/073003-1.aspx"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/keywords/with-rollup/feed</wfw:commentRss>
		</item>
		<item>
		<title>Cannot Create Windows Service for MySQL. Error:0</title>
		<link>http://www.mysqldictionary.com/error-messages/cannot-create-windows-service-for-mysql-error0</link>
		<comments>http://www.mysqldictionary.com/error-messages/cannot-create-windows-service-for-mysql-error0#comments</comments>
		<pubDate>Fri, 10 Aug 2007 02:24:50 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Error Messages]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/error-messages/cannot-create-windows-service-for-mysql-error0</guid>
		<description><![CDATA[Definition
When the MySQL server is installed as a service on Windows, it tries to use the service name mysql by default. If a previous installation was not completely removed before installing, this error can be encountered. This occurs because the  mysql service already exists on the machine.
Sample
Cannot Create Windows Service for MySQL. Error:0
Resolution


Choose a [...]]]></description>
			<content:encoded><![CDATA[<h4>Definition</h4>
<p>When the MySQL server is installed as a service on Windows, it tries to use the service name <strong>mysql</strong> by default. If a previous installation was not completely removed before installing, this error can be encountered. This occurs because the <strong> mysql</strong> service already exists on the machine.</p>
<h4>Sample</h4>
<blockquote><p>Cannot Create Windows Service for MySQL. Error:0</p></blockquote>
<h4>Resolution</h4>
<ol></ol>
<ul>
<li>Choose a different service name when installing.</li>
<li>On Windows XP or newer, remove the old service with the <strong>sc</strong> command:<br />
<blockquote><p>C:\&gt; sc delete mysql<br />
[SC] DeleteService SUCCESS</p></blockquote>
</li>
<li>On Windows 2000, download the <strong>delsrv.exe </strong>tool from <a href="http://download.microsoft.com/download/win2000platform/WebPacks/1.00.0.1/NT5/EN-US/delsrv.exe">http://download.microsoft.com/download/win2000platform/WebPacks/1.00.0.1/NT5/EN-US/delsrv.exe</a> and delete the process with <strong>delsrv mysql.</strong></li>
</ul>
<h4>Further Reference</h4>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/windows-troubleshooting.html">Windows Troubleshooting (MySQL Reference Manual)<br />
</a></p>
<p><a href="http://forums.mysql.com/read.php?11,19373,19373#msg-19373">MySQL Forums Thread On Error: 0</a></p>
<p><a href="http://www.faqts.com/knowledge_base/view.phtml/aid/33006/fid/185">FAQTs Entry on Error: 0</a></p>
<p><a href="http://forums.mysql.com/read.php?11,19373,19373#msg-19373"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/error-messages/cannot-create-windows-service-for-mysql-error0/feed</wfw:commentRss>
		</item>
		<item>
		<title>Client does not support authentication protocol requested by server; consider upgrading MySQL client</title>
		<link>http://www.mysqldictionary.com/error-messages/client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client</link>
		<comments>http://www.mysqldictionary.com/error-messages/client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client#comments</comments>
		<pubDate>Mon, 06 Aug 2007 22:19:39 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
		
		<category><![CDATA[Error Messages]]></category>

		<guid isPermaLink="false">http://www.mysqldictionary.com/error-messages/client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client</guid>
		<description><![CDATA[Definition
In MySQL version 4.1, the authentication protocol used for MySQL client-server communications was changed to make it more secure. This changed the format of hashed user passwords and broke compatibility for all clients and APIs designed against MySQL 4.0.
Sample
Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL
Resolution

Upgrade to a 4.1 [...]]]></description>
			<content:encoded><![CDATA[<h4>Definition</h4>
<p>In MySQL version 4.1, the authentication protocol used for MySQL client-server communications was changed to make it more secure. This changed the format of hashed user passwords and broke compatibility for all clients and APIs designed against MySQL 4.0.</p>
<h4>Sample</h4>
<blockquote><p>Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL</p></blockquote>
<h4>Resolution</h4>
<ul>
<li>Upgrade to a 4.1 or higher version of the <strong>mysql</strong> client.</li>
<li>Upgrade the API used to one compatible with MySQL 4.1.
<ul>
<li>PHP users can use <strong>mysqli</strong> or <strong>PDO</strong> instead of the standard <strong>mysql</strong> extension. PHP users can also attempt to compile the <strong>mysql </strong>extension against MySQL 4.1.</li>
<li>.NET Users can use Connector/NET instead of Connector/ODBC.</li>
</ul>
</li>
<li>Run the MySQL server in a mode that uses old password hashing by adding <strong>old-passwords</strong> to the <strong>[mysqld]</strong> section of your <strong>my.cnf</strong> file.</li>
<li>Update the password of the user who needs to connect from an old-protocol application to use the deprecated password format with this command:<br />
<blockquote><p>SET PASSWORD FOR &#8216;user&#8217;@'host&#8217; = OLD_PASSWORD(&#8217;password&#8217;);</p></blockquote>
</li>
</ul>
<h4>Further Reference</h4>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/old-client.html">Client does not support authentication protocol (MySQL Reference Manual)</a></p>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/password-hashing.html">Password Hashing as of MySQL 4.1 (MySQL Reference Manual)</a></p>
<p><a href="http://www.php.net/mysqli">mysqli Extension</a></p>
<p><a href="http://www.mysql.com/products/connector/">MySQL APIs (Drivers) for Various Languages</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/error-messages/client-does-not-support-authentication-protocol-requested-by-server-consider-upgrading-mysql-client/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
