《MysqL学习MysqL 5.7.14 net start MysqL 服务无法启动-“NET HELPMSG 3534” 的奇怪问题》要点:
本文介绍了MysqL学习MysqL 5.7.14 net start MysqL 服务无法启动-“NET HELPMSG 3534” 的奇怪问题,希望对您有用。如果有疑问,可以联系我们。
MysqL应用my.ini
MysqL应用在参考/article/100284.htm之后
MysqL应用执行MysqLd --initialize-insecure出现错误提示
MysqL应用 C:\WINDOWS\system32>MysqLd --initialize-insecure MysqLd: Can't create directory 'D:\Program Files oft\MysqL-5.7.14-winx64\MysqL-5.7.14-winx64\data\' (Errcode: 2 - No such file or directory) 2016-12-16T02:12:53.583901Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2016-12-16T02:12:53.583901Z 0 [Warning] 'NO_ZERO_DATE','NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release. 2016-12-16T02:12:53.583901Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set. 2016-12-16T02:12:53.583901Z 0 [ERROR] Can't find error-message file 'D:\Program Files oft\MysqL-5.7.14-winx64\MysqL-5.7.14-winx64\share\errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive. 2016-12-16T02:12:53.583901Z 0 [ERROR] Aborting
MysqL应用只好把目录改成反斜杠
MysqL应用 [client] port=3306 default-character-set=utf8 [MysqLd] port=3306 character_set_server=utf8 basedir=D:/Program Files/soft/MysqL-5.7.14-winx64/MysqL-5.7.14-winx64 #解压目录 datadir=D:/Program Files/soft/MysqL-5.7.14-winx64/MysqL-5.7.14-winx64/data #解压目录下data目录 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES [WinMysqLAdmin] D:/Program Files/soft/MysqL-5.7.14-winx64/MysqL-5.7.14-winx64/bin/MysqLd.exe
MysqL应用再次执行成功
MysqL应用 C:\WINDOWS\system32> MysqLd install MysqL --defaults-file="D:\Program Files\soft\MysqL-5.7.14-winx64\MysqL-5.7.14-winx64\my.ini" Service successfully installed. C:\WINDOWS\system32>net start MysqL
MysqL应用
C:\WINDOWS\system32>
MysqL应用以上所述是小编给大家介绍的MysqL 5.7.14 net start MysqL 服务无法启动-“NET HELPMSG 3534” 的奇怪问题,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的.在此也非常感谢大家对编程之家PHP网站的支持!