Hi,
10 minuts ago my mysql server decided to just stop working.. Out of nowhere. When I start it with /etc/init.d/mysqld start it says 'ok' but it seems to shutdown 5 seconds after I issued that command.
When I tried to start it by hand it gives a error and some warnings, what to do now?
It worked for over 3 months and today this happend :|
David,
10 minuts ago my mysql server decided to just stop working.. Out of nowhere. When I start it with /etc/init.d/mysqld start it says 'ok' but it seems to shutdown 5 seconds after I issued that command.
Code:
root@dbekker:/usr/local/mysql/bin# /etc/init.d/mysqld start
Starting mysqld: [ OK ]
root@dbekker:/usr/local/mysql/bin# ps aux | grep mysqld
root 9440 0.0 0.0 6032 660 pts/0 S+ 16:04 0:00 grep mysqld
When I tried to start it by hand it gives a error and some warnings, what to do now?
Code:
root@dbekker:/usr/local/mysql/bin# ./mysqld
130226 16:02:39 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
130226 16:02:39 [Warning] Can't create test file /var/lib/mysql/dbekker.lower-test
130226 16:02:39 [Warning] Can't create test file /var/lib/mysql/dbekker.lower-test
./mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 2)
130226 16:02:39 [ERROR] Aborting
130226 16:02:39 [Note]
It worked for over 3 months and today this happend :|
David,