WIN10 MySQL 5.7.13 service failed to start 3534

Source: Internet
Author: User

I also Baidu a lot of methods are not used (I use the MySQL is free installation version, the kind of directly decompression)

Basically all say no set data directory, no initialization, I am very depressed is to follow those steps to deal with, to the end or not.

Later, the path in the config file is changed from "\" (Windows) to "/".

My entire configuration installation process:

1. Unzip MySQL to directory E:\serverEnvironment\mysql-5.7.13-winx64

2. Setting environment variables, environment variables, advanced system settings, properties, and settings for this computer locate the path variable and then edit it directly to add E:\serverEnvironment\mysql-5.7.13-winx64\bin

3, copy the E:\serverEnvironment\mysql-5.7.13-winx64 directory under the My-default.ini configuration file to the current directory to modify the name My.ini, e:/serverenvironment/ Create a new folder under the mysql-5.7.13-winx64/directory named data

4, set the configuration file, Basedir,datadir,port these three front #去掉 set the corresponding path

Basedir = e:/serverenvironment/mysql-5.7.13-winx64
DataDir = E:/serverenvironment/mysql-5.7.13-winx64/data
Port = 3306

5. Open the console (CMD) as an administrator

6, execute command line Mysqld-install prompt: Service successfully installed.

7, mysqld--initialize no hint (there is a hint basic is a problem, mysqld-console can see some tips information)

8, net start MySQL prompt MySQL service is starting.
The MySQL service has started successfully.

WIN10 MySQL 5.7.13 service failed to start 3534

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.