D:\MySQL\mysql-5.7.13-winx64\bin>mysqld--initialize-insecure--user=rootmysqld:CouldnotcreateoraccesstheregistrykeyneededfortheMySQLapplicationtologtotheWindowsEventLog.Ru...
D:\MySQL\mysql-5.7.13-winx64\bin>mysqld --initialize-insecure --user=root
mysqld: Could not create or access the registry key needed for the MySQL application
to log to the Windows EventLog. Run the application with sufficient
privileges once to create the key, add the key manually, or turn off
logging for that application.
mysqld: Can't create directory 'D:\mysql-5.6.13\data\' (Errcode: 2 - No such file or directory)
2016-07-26T14:35:56.716091Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-07-26T14:35:56.720105Z 0 [ERROR] Cannot open Windows EventLog; check privileges, or start server with --log_syslog=0
2016-07-26T14:35:56.729360Z 0 [ERROR] Aborting
是免安装的mysql5.7 解压后没有data文件,根据网上的教程创建data
展开