On checking error log of /var/log/mysql/error.log, I see this:

160628 11:50:37 [ERROR] /usr/sbin/mysqld: unknown option '--safe-show-database'
160628 11:50:37 [ERROR] Aborting

1 Answer 1


I solved this by commenting out a few lines for safe mode in /etc/mysql/my.cnf

$sudo vi /etc/mysql/my.cnf


socket = /var/run/mysqld/mysqld.sock

nice = 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.