This object is in archive! 
Upvote 1

Cannot connect to DB during installation

Archived Tai Nguyen 10 years ago

BlueHost

PHP 5.4.24

MySQL 5.5.35


Hi,


I'm trying to install the free version on BlueHost and I'm getting an error that the system "Can't connect to database with provided access!" I've used similar DB credentials for many other software installs (Drupal, Joomla, etc.) on BlueHost without problem.


Here is a screen showing the DB and user that I set up and the permissions that the user has (everything). I've logged into phpMyAdmin with that user and password and can confirm that the user can login and create tables.

pIlDHPljSXTVdyUJFK6f


Here is the error itself:

zavnEGOP8IcpmGzURBub


Additionally, I have checked the input of the password several times and also reset the user's password just to make sure I had it right.


-Tai

Replies (6)

photo
1

Hello Tai,

Are you sure that DB server is located on localhost? Try to use IP instead.

We could have checked it on your server, but that option is available only for corporate customers.

photo
1

Stas Kuzma wrote:

Hello Tai,

Are you sure that DB server is located on localhost? Try to use IP instead.

We could have checked it on your server, but that option is available only for corporate customers.

I've always used localhost on other installs but I'll see if I can dig up the DB's ip address.

photo
1

Yeah, no luck with either the server IP address or hostname. :-(

photo
1

Sorry to hear that.. We'll be glad to take a look at your problem and resolve it in case you'll have corporate package.

photo
1

FWIW, this is my DB settings for Drupal, which is installed on the same server/account in a different directory:

$databases = array (

'default' =>

array (

'default' =>

array (

'database' => 'warriox6_rings',

'username' => 'warriox6_ringsDB',

'password' => '********',

'host' => 'localhost',

'port' => '',

'driver' => 'mysql',

'prefix' => '',

),

),

);

Does the admin email/password affect the DB test?

photo
1

Admin email/password doesn't affect db test. Please try another server to see if installation will work on it.

Replies have been locked on this page!