<?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 &#187; Error Codes</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>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>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>2003</title>
		<link>http://www.mysqldictionary.com/error-codes/2003</link>
		<comments>http://www.mysqldictionary.com/error-codes/2003#comments</comments>
		<pubDate>Sun, 05 Aug 2007 05:07:53 +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/2003-client-error-code</guid>
		<description><![CDATA[Definition
Error 2003 indicates that the mysql client was unable to establish a connection with the MySQL server you specified.
Sample
C:\Documents and Settings\Administrator&#62;mysql -u root -h 127.0.0.1 -p
Enter password: *****
ERROR 2003 (HY000): Can&#8217;t connect to MySQL server on &#8216;127.0.0.1&#8242; (10061)
Resolution

Did you specify the correct hostname or IP address for the MySQL server? If you do not specify [...]]]></description>
			<content:encoded><![CDATA[<h4>Definition</h4>
<p>Error 2003 indicates that the <strong>mysql</strong> client was unable to establish a connection with the MySQL server you specified.</p>
<h4>Sample</h4>
<blockquote><p>C:\Documents and Settings\Administrator&gt;mysql -u root -h 127.0.0.1 -p<br />
Enter password: *****<br />
ERROR 2003 (HY000): Can&#8217;t connect to MySQL server on &#8216;127.0.0.1&#8242; (10061)</p></blockquote>
<h4>Resolution</h4>
<ul>
<li>Did you specify the correct hostname or IP address for the MySQL server? If you do not specify one, the local machine is used as a default.</li>
<li>Is the MySQL server running? Check the process list on the server machine.</li>
<li>Is there a firewall blocking port 3306 at some point between the client and server? (If you are trying to reach a server provided by a hosting company this is likely).</li>
<li>Is the MySQL server configured to listen on port 3306? If not, you need to specify the right port number with the <strong>-P</strong> option.</li>
</ul>
<h4>Further Reference</h4>
<p><a href="http://dev.mysql.com/doc/refman/5.0/en/error-messages-client.html" title="Client Error Codes (MySQL Reference Manual)">Client Error Codes and Messages (MySQL Reference Manual)</a></p>
<p><a href="http://www.experts-exchange.com/Databases/Mysql/Q_20737391.html">Experts-Exchange Question on Error 2003</a></p>
<p><a href="http://www.vbmysql.com/articles/security/connecting-the-mysql-gui-tools-to-a-remote-server-through-a-firewall/" title="Article on Port Forwarding.">Accessing MySQL Through a Firewall With SSH Port Forwarding</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mysqldictionary.com/error-codes/2003/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
