Mysql (MariaDB) doesn´t start. Error Log:

140426 19:29:21 [ERROR] /usr/sbin/mysqld: unknown option '--explicit_defaults_for_timestamp'


On the internet i could not find anything about this error.

有帮助吗?

解决方案

It's in your my.cnf, most likely in section [mysqld], option: explicit_defaults_for_timestamp. Try commenting it out.

其他提示

It might be because you partially upgraded mysql server, e.g. only mysql-common package if that's debian you're talking about. And the solution is to upgrade the other packages as well, supposedly like this:

apt-get install mysql-server
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top