Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Connection to database failing during install

Connection to database failing during install

Views: 1,327

Results 1 to 6 of 6
22 Mar 2011, 2:08 PM
#1
hp_sauce avatar

hp_sauce

New Zenner

Join Date:
Mar 2011
Posts:
14
Plugin Contributions:
0

Connection to database failing during install

Urgh...this old problem. I need some help with this!!

I am using Bluehost where I have created a MySQL database. I created the username then added it to the database, ticking all the permissions boxes.

Now, during install - for the past 3 hours of tying, I keep getting the error message:
Connection to Database failed
Access denied for user 'rerdownl_user'@'localhost' (using password: YES)

My database host I have left as localhost
My database username as rerdownl_user (which is the username i chose setting up)
My database password *********** OK
My database name as rerdownl_database (which is the database I created)

Is that correct?? I am not sure I have all the prefixes correct. Ive tried loads of variations to no avail. Username AND password are correct I am sure.

Any advice would be much appreciated in these crazy times.

My specs:
Zen Cart v1.3.9
Snow Leopard 10.6.6

not sure what other info to give you..hope thats ok but anyting else just ask!

Thanks again folks!

22 Mar 2011, 2:26 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Connection to database failing during install

I would just tripple check the spelling and that the pass is actually correct

This should be straight forward without the error

I am using Bluehost

I did not know that they provided hosting on MAC servers???

Zen-Venom Get Bitten

22 Mar 2011, 2:57 PM
#3
hp_sauce avatar

hp_sauce

New Zenner

Join Date:
Mar 2011
Posts:
14
Plugin Contributions:
0

Re: Connection to database failing during install

kobra:

I did not know that they provided hosting on MAC servers???

Er...yeah I guess they do.

I have quadruple checked the username and password...to no avail

22 Mar 2011, 3:37 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Connection to database failing during install

Should be right. Try using your control panel login and password to see if the problem might be the credentials you created.

22 Mar 2011, 4:06 PM
#5
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: Connection to database failing during install

Did you add the user to the database? Did you create the user? Click the sql databases tab in control panel, scroll down, add user to database. If it's not there then create user, then add.

22 Mar 2011, 5:48 PM
#6
hp_sauce avatar

hp_sauce

New Zenner

Join Date:
Mar 2011
Posts:
14
Plugin Contributions:
0

Re: Connection to database failing during install

Right,
OK Panic over!! It is sorted!
I created ANOTHER user and made my own password which was a bit simpler than the one given by the password generator.
Though, I AM SURE that i had that stuff correct....geez I guess I look silly!

Anyway,
THANKS for all your replies and suggestions! Isn't it great when everything works!