Softaculous


Topic : new Drupal installation broken


Posted By: SoftDux on July 16, 2014, 1:48 pm
I just installed Drupal 7 on a recently setup cPanel server and it breaks with the following error:

Quote

  • Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in DatabaseConnection->__construct() (line 307 of /home/rudia/public_html/assets/includes/database/database.inc).
  • Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in DatabaseConnection->__construct() (line 307 of /home/rudia/public_html/assets/includes/database/database.inc).
  • Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in DatabaseConnection->__construct() (line 307 of /home/rudia/public_html/assets/includes/database/database.inc).
  • Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in DatabaseConnection->__construct() (line 307 of /home/rudia/public_html/assets/includes/database/database.inc).
  • PDOException: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client in lock_may_be_available() (line 167 of /home/rudia/public_html/assets/includes/lock.inc).
  • Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in DatabaseConnection->__construct() (line 307 of /home/rudia/public_html/assets/includes/database/database.inc).




Environment: WHM 11.44.1 (build 1)
Softaculous:
Drupal:  4.5.1
PHP: 5.4.28
MySQL: 5.5

Posted By: Brijesh on July 17, 2014, 7:54 am | Post: 1
Hi,

It looks like there is some issue with the latest MySQL setup on your server. Please try adding the following link in your my.ini
Code
old_passwords=1


-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.