<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.72">
<TITLE>RE: ERROR 1045: Access denied for user: </TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>When you select user from users what does the username say? Are you sure the username is correct? When you select user,password from users what does it say?</FONT></P>
<P><FONT SIZE=2>Regards,</FONT>
</P>
<P><FONT SIZE=2>Drew</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Michael S. Dunsavage [<A HREF="mailto:mikesd@frontiernet.net">mailto:mikesd@frontiernet.net</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, March 30, 2004 1:48 PM</FONT>
<BR><FONT SIZE=2>To: redhat-list@redhat.com</FONT>
<BR><FONT SIZE=2>Cc: Richardson, Gary</FONT>
<BR><FONT SIZE=2>Subject: ERROR 1045: Access denied for user: </FONT>
</P>
<BR>
<P><FONT SIZE=2>I get the following error when I do</FONT>
</P>
<P><FONT SIZE=2>mysql -u mikesd -p</FONT>
</P>
<P><FONT SIZE=2>ERROR 1045: Access denied for user: 'mikesd@localhost' (Using password: YES)</FONT>
</P>
<BR>
<P><FONT SIZE=2>the user mikesd exists.</FONT>
</P>
<P><FONT SIZE=2>I did</FONT>
</P>
<P><FONT SIZE=2>mysql> GRANT ALL PRIVILEGES ON *.* TO 'mikesd'@'localhost'</FONT>
<BR><FONT SIZE=2> -> IDENTIFIED BY 'pass' WITH GRANT OPTION;</FONT>
<BR><FONT SIZE=2>mysql> GRANT ALL PRIVILEGES ON *.* TO 'mikesd'@'%'</FONT>
<BR><FONT SIZE=2> -> IDENTIFIED BY 'pass' WITH GRANT OPTION;</FONT>
<BR><FONT SIZE=2>mysql> GRANT RELOAD,PROCESS ON *.* TO 'admin'@'localhost';</FONT>
<BR><FONT SIZE=2>mysql> GRANT USAGE ON *.* TO 'dummy'@'localhost';</FONT>
</P>
<BR>
<P><FONT SIZE=2>What else?</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Michael S. Dunsavage</FONT>
</P>
<BR>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>redhat-list mailing list</FONT>
<BR><FONT SIZE=2>unsubscribe <A HREF="mailto:redhat-list-request@redhat.com?subject=unsubscribe">mailto:redhat-list-request@redhat.com?subject=unsubscribe</A></FONT>
<BR><FONT SIZE=2><A HREF="https://www.redhat.com/mailman/listinfo/redhat-list" TARGET="_blank">https://www.redhat.com/mailman/listinfo/redhat-list</A></FONT>
</P>
</BODY>
</HTML>