Wordpress website returns "Error establishing a database connection" after switching to PHP 5.4 or PHP 5.5
PHP 5.4 and PHP 5.4 is unable to handle passwords set on the previous PHP versions.
Make sure that "old-passwords" option is missing in
/etc/my.cnfas well as in any custom templates
- GoTo MySQL DBs and update database password. Set
MySQL password hash lengthto