paptom
paptom

Reputation: 23

Mysql stopped suddenly and cannot be restarted

Here is what /var/log/mysql/error.log says

[ERROR] /usr/sbin/mysqld: unknown option '--mysql/'

Full log: http://pastebin.com/hhUY2LXi

Mysql config: http://pastebin.com/cNMux19T

Command to start mysql: sudo service mysql start

Any ideas or debugging steps will realy help

Upvotes: 0

Views: 226

Answers (1)

paptom
paptom

Reputation: 23

So it turns out that there was an long running process which filled up ram cache. I ran sudo sysctl -w vm.drop_caches=3 and i was able to restart mysql

Upvotes: 0

Related Questions