cannot connect to database

Weird..

via ssh terminal i can manually connect to db using username/password

i also added define('WP_ALLOW_REPAIR', true); and ran repair and optimize option

i ran too wp db repair from command line.

I can connect to DB using PhpMyAdmin.

I have disabled all plugins.

I also went through PMA and verified that the wp_options table contains the correct site url.

Anyone know what I’m missing?

Leave a Comment