Domanda

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.

È stato utile?

Soluzione

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

Altri suggerimenti

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top