Hi there. I installed mysql server from ports when I tried to set the root password I get the following message:
How can I check if MySQL is running? How can I check if /tmp/mysql.sock exists?
Thanks.
Code:
# mysqladmin -u root password <pasw>
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!
Thanks.