MySQL 5.7.14 net start MySQL service failed to start-"net helpmsg 3534" Strange Problem _mysql

Source: Internet
Author: User
Tags create directory

My.ini

After referencing the http://www.jb51.net/article/100284.htm

Error prompting for execution mysqld--initialize-insecure

 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:1 2:53.583901z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. 
Please use--explicit_defaults_for_timestamp server option (the 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 is used with strict mode. 
They'll be merged and strict mode in a future release. 
2016-12-16t02:12:53.583901z 0 [Warning] ' no_auto_create_user ' SQL mode is 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 

I had to change the catalogue back to a backslash.

[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] 

Successful execution again

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. 
 

The MySQL service is starting.

The MySQL service has started successfully.

 
 

The above is a small set to introduce the MySQL 5.7.14 net start MySQL service can not start-"net helpmsg 3534" Strange question, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.