Skip to content

Can't connect to database

edited November 2013 in Troubleshooting

After installing I get this message:

Can't connect to database
There is a problem connecting to the database. Please try again later.

and when I run the compatibility script I get:

Server configuration:
Your PHP version is 5.4.20
mysqli extension is installed
mod_rewrite is not enabled
display_errors is turned off
hash is enabled
curl is enabled
gettext is enabled
curl_exec is enabled
curl_multi_exec is enabled

Score: 8/9

Now I've checked with Bluehost and they tell me mod_rewrite is enabled and display errors is turned on in php.ini.

My domain www.alexzemkus.com is a subdomain of www.caronzemkus.com.

The database hostname is set to localhost.

Any ideas on what to do next?
cheers,
Alex

Comments

  • The issue is nothing but your database credentials being incorrect, not mod_rewrite or anything else.

    Check (or check with your host) that your database credentials are correct. And you have attached the database user to the database with full privileges.

This discussion has been closed.