Web Hosting Talk







View Full Version : mysql help needed


ciqala
07-16-2003, 10:33 AM
i just got a brand new dual xeon rig from rackshack loaded with ensim pro.

I have created a site by adding a reseller and then adding a site under the reseller control panel. the site type is high-security.

but i am trying to connect to mysql and it simply refuses to connect.

the error i get is...

Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/xxxx/xxxxx/includes/db_mysql.php on line 39

does anyone with ensim pro experience know what setting i may be missing or how i can fix it.

the box is still the exact same way it was when it was setup so i havent made a single change to the system.

this is not restricted to this site too as my pal is having the same problem on his site situated on this same server.

any help pointers much appreciated.

Cheers

Ciq

ktulu
07-16-2003, 11:15 AM
Are you sure that MySQL is running on the machine? I've gotten that message if I've forgotten to start it (I only have it running on my test box when I'm testing).

-Kevin

ciqala
07-16-2003, 11:37 AM
nevermind...

it's an ensim 'feature' not to include the mysql.sock in 'high security' level sites.

fyi anyone else experiencing this... i have seen it reccomended to use 127.0.0.1 or localhost.localdomain instead of localhost to try and circumvent this problem.

Ciq