Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you see a message like thisan error message "Error establishing a database connection", or "mysql_connect() [function.mysql-connect]: Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)", or any similar, it means that the database connection settings in your script's configuration file are not valid for some reason. The fix is to reset the password for the MySQL user in your cPanel > MySQL Databases section,  to the one used in your configuration files. Official cPanel documenation explaining how to change the password for a MySQL user can be found here.  You can find the names of the files with the database connection settings of the most popular scripts below. If you encounter any problems, please, contact support.

...