我查看了这个页面:
http://dev.mysql.com/doc/refman/5.7/en/mysql-install-db.html
但是,当我使用MysqLd –initialize时,MysqL_install_db被删除了.它会促进这些错误和警告.
[Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
[ERROR] --initialize specified but the data directory has files in it. Aborting.
[ERROR] Aborting
根据这个可以忽略第一个:How to enable explicit_defaults_for_timestamp?
我不知道如何解决第二个问题.
最佳答案