<docbook><section><title>AccessDeniedForUserUsingPasswordYES1045</title><para> </para><title>Error message: Access denied for user &quot;username&quot;@&quot;hostname&quot; (Using password: YES) (1045) </title>Error message: <computeroutput>Access denied for user &quot;username&quot;@&quot;hostname&quot; (Using password: YES) (1045)</computeroutput> 
<para>This error occurs when </para><itemizedlist mark="bullet" spacing="compact"><listitem> a MySQL server gets an incorrect password for the username specified, <emphasis>or</emphasis> </listitem>
<listitem> the correct password is provided, but the user hasn&#39;t been granted access from the specific client host.</listitem>
</itemizedlist><para>This is a common error, as MySQL access is restricted by client host combined with the username &amp; password credentials, and access has to be specifically granted as detailed in the <ulink url="http://dev.mysql.com/doc/refman/5.1/en/access-denied.html">MySQL documentation</ulink>.</para><para> </para></section></docbook>