MySQL is not starting after Shutdown
Posted by:
Renjith T
Date: January 18, 2016 03:32AM
Hi,
I am new to mysql. For a requirement, I had to stop mysql by the following command.
mysqladmin -u <user> -p <pwd> shutdown
After that I am unable to start the server. I've used the following option.
1. ./mysqld
Result:
160118 3:28:57 [Warning] option 'thread_stack': unsigned value 126976 adjusted to 131072
160118 3:28:57 [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys'
160118 3:28:57 [ERROR] Aborting
2. ./mysql -u <usr> -p <pwd> localhost
./mysql -u <usr> -p <pwd> 127.0.0.1
Result:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
3. ./mysqladmin -u <usr> -p <pwd> start
Result:
./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 in advance.
Renjith
Subject
Written By
Posted
MySQL is not starting after Shutdown
January 18, 2016 03:32AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.