installed mysql/php/apache but there's no mysql.sock file
shaun at insipidity.co.uk
Sat Apr 17 11:17:56 PDT 2004
On Sat, 2004-04-17 at 18:42, chip wrote:
> I then created a file in /tmp called mysql.sock but
> mysql still gives the same error -[error 2002] cannot connect to local
> mysql server through /tmp/mysql.sock (2).
> I read the section in the mysql manual about the socket but don't see
> anything about creating this file.
> How do I fix this?
I'm not an expert on mysql, but I believe you get that message if mysqld
isn't running (and because it isn't running, it hasn't created the
file). Have you checked if it is running (ps waux | grep mysqld)?
If it isn't, run it (should be in the bin directory of mysql).
More information about the freebsd-questions