Web Hosting Forum | Lunarpages

Author Topic: (XID acyfq2) Database Error: The password hash doesn't have the expected format.  (Read 16699 times)

Offline micro

  • Space Explorer
  • ***
  • Posts: 9
What does this error mean, where does it come from and how can it be fixed? It seems to affect all my MySQL Users since yesterday.

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6187
Where is the password in question from? Is this a password-protected directory, the MySQL user password, or a password from within an application (WordPress, Drupal, etc.)? Does this affect multiple passwords of different types, or just (for example), applications?

Note that support does not routinely monitor this forum. If you think there may be a system problem, you should open a ticket. Was your server just updated within the last day or so?
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

Offline micro

  • Space Explorer
  • ***
  • Posts: 9
This message appears when PHP tries to connect to the database:

mysql_connect($dbhost, $dbuser, $dbpass);

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6187
So, one or more PHP applications are unable to connect to the MySQL database. The $dbpass should be passing in the plaintext password. Is there any chance that you changed the DB password by mistake? Were there any configuration or direct DB changes just made? Could a hacker have changed it? Maybe you could try going into your control panel, changing the user password to something new, updating the configuration file to use that new password, and seeing if it works now. If not, the only thing I can think of is to open a ticket. Maybe something got changed (password handling) in a PHP or MySQL update, and it got broken in the process. Generating a new password (as suggested above) may or may not fix it.
Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-

 

Share |