Jump to content


This topic is now archived and is closed to further replies.


having problems connecting to MySQL

Recommended Posts



I'm trying to connect to MySQL but I get this error.

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/home/tjhilder/48oz.co.uk/personal/index.php on line 9


apparently it's cos MySQL isn't operating, how would I start it on FreeBSD 5.3?

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.