Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Its ok now. It was ‘localhost’ wrongly put. Too bad I am in the 1%.

    Hi,

    I would the same problem with database connection error…

    When I checked my error log from host server:

    Error: 2002 : Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) at func.cgi line 250.
    DBI connect(‘database=princess_product;host=localhost’,’princess_product’,…) failed: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) at func.cgi line 250
    We are not connected to database princess_product

    So, it is some kind of socket error. How to solve it please????urgent …Thanks! ??

    sam

Viewing 2 replies - 1 through 2 (of 2 total)