Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2009
    Posts
    3
    Plugin Contributions
    0

    Default 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!!!!
    Attached Images Attached Images  

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 2 Jan 2012, 10:46 PM
  2. "Connection to Database failed" upon install - I think I need database name help
    By jasong1968 in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 30 Nov 2011, 10:50 AM
  3. Getting a "Connection to Database Failed" message
    By Inuashley in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 17 Nov 2008, 01:34 AM
  4. Database Backup Manager - MySQL - "cannot connect through socket" message
    By craiglove in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 17 May 2007, 11:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg