Was trying to run MySQL, but came across a really annoying problem - it kept saying it couldn't find a "socket" file and thus wouldn't start.
eg.
> mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Here's how to fix it, just start the MySQL daemon again and all will work:
> /usr/local/mysql/bin/mysqld_safe &
Friday, February 29, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment