View Single Post
  #8   (View Single Post)  
Old 23rd October 2009
unleashedpsycho unleashedpsycho is offline
New User
 
Join Date: Oct 2009
Posts: 1
Smile Please help

Quote:
Originally Posted by phoenix View Post
If this is a fresh install, you may also have to initialise the internal database and tables. The rc.d script is supposed to do this automatically, but sometimes it doesn't. Try running the following:
# /usr/local/bin/mysql_install_db
And then running the rc.d script.

If that doesn't work, check /var/log/messages and the mysql logs in /var/db/mysql.
Dear Sir phoenix,
Mine is the same problem except mine's not fresh install.

"mysqladmin ping" shows the same message as mantazz i.e.
Quote:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
Reply With Quote