This forum is no longer active. Please post your questions to our new community site
"Error establishing database connection"
|
|
I have installed Bitnami’s ami-a29960cb. Yesterday while I was off my boss jumped ahead of me and assigned an elastic IP to the server. He didn’t have terminal access of VNC access so I am not sure how things manage to screw up as bad as they have. By accessing the site via elastic ip, I receive this error: Error establishing database connection If I use a different username or password, I receive: Warning: mysql_connect(): Access denied for user ’USERNAME’@’ELASTICIP’ (using password: YES) in /opt/bitnami/apps/wordpress/htdocs/wp-includes/wp-db.php on line 1036 I’ve tried creating new users, using localhost, using the elastic IP, changing the domain in the sql database wherever I could but this problem just doesn’t seem to go away. |
|
|
Hi, Did you try to restart the MySQL database?
Plase post the mysql log file (/opt/bitnami/mysql/data/mysqld.log). If the public IP has changed it is also necessary to run the mysql command that you can find at http://wiki.bitnami.com/Applications/BitNami_Wordpress_Stack#How_to_change_the_default_URL.3f |

