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


-- 
Shaun Friedle

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to