Forums / Templates, Stylesheets, Page Layout / Help.... "Connection to Database failed - Can't connect to local MySQL"

Help.... "Connection to Database failed - Can't connect to local MySQL"

Locked

Views: 2,553

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
16 Nov 2009, 2:52 PM
#1
chadwick avatar

chadwick

New Zenner

Join Date:
Nov 2009
Posts:
3
Plugin Contributions:
0

Help.... "Connection to Database failed - Can't connect to local MySQL"

Hi, I got the following message when trying to set up Zencart with Dreamhost.

Connection to Database failed
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) more info

Attached is a pic. Any ideas what to do about the database? Please let me know. Thanks!!!!

16 Nov 2009, 8:07 PM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Help.... "Connection to Database failed - Can't connect to local MySQL"

First you need to set up a database for you zencart.
Second you need to remember the name of that database and password.

Third you need to add the correct username, password and database name where asked to do so. Giving incorrect information will give you that exact error.


Play with it long enough and you will break it.