How can I start mysql??

www# ./mysql
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
www#

And if I ps aux | grep mysql nothing happens and there is not mysql service started in "ps -aux".. any help how to get mysql to start? And what about the /tmp/mysql.sock

Comments

cczona’s picture

MySQL.com has very thorough online documentation. Anytime you're experiencing a MySQL-related problem, that's the first place to look for fast answers (second being their very active mailing list which many ISPs also are willing to mirror on their news server upon request). This doc page http://www.mysql.com/doc/en/Can_not_connect_to_server.html should help you get mysql running.