View Single Post
  #6 (permalink)  
Old 07-26-2006, 11:12 AM
WebmastTroy WebmastTroy is offline
Registered User
 
Join Date: Apr 2002
Posts: 86
WebmastTroy
The "(using password: NO)" part tells you that your PHP script isn't sending a password to be checked. I'd check your variables to make sure it's being passed to MySQL during the connection.

Also, unless MySQL's error syntax has changed recently, 'hostit'@'localhost' should be 'hostit@localhost' in the error. Probably nothing though.

If you have shell access, try:

mysql -u usernamehere -p

It will prompt for a password. That will tell you if those are correct.
Reply With Quote