hi you are not passing a password to mysql - check your code to see if this is correct.
Peter > -----Original Message----- > From: Christian Biggins [mailto:[EMAIL PROTECTED] > Sent: 26 January 2005 12:27 > To: mysql@lists.mysql.com > Subject: Access denied for user - I cant work this out > > > Hi All, > > I am consistently getting; > > Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) > > I am connecting through php with the same script I use all the > time, I have > checked it and dbl checked it for problems. > > I can connect to mysql in a prompt and I have added new users with all > priv's and connected with them - obviously its more a server issue than > mysql (I think)... > > MySQL version is 4.0.21 > PHP Version 4.3.8 > On a Win2k server using apache 2 (just a local testing server). > > Any info would be muchly appreciated. > > Christian > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]