"MySQL Learning" Installation and Configuration service failed to start without reporting any errors

Source: Internet
Author: User

These days decided to strengthen the knowledge of the database, ready to get a MySQL, on the official website of the latest 5.7.9 version of the ZIP, add environment variable after the console prompt did not report any errors,

After viewing the log found that because there is no data folder caused, it seems that 5.7.9 version of the extract after the original data folder. Two solutions, the first is relatively simple, download the low version, such as 5.6 of MySQL, after extracting the data folder to the 5.7.9 directory, and then to my-default.ini this configuration file to add the path of the Data folder. The second method is given by the official, after the decompression of MySQL using mysqld--initialize initialization can be, the following detailed steps.

--------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------

(MSI installed version ignores)

First go to the official website to download the MySQL zip, portal http://dev.mysql.com/downloads/mysql/(PS: First login to the Oracle account), extracted after the selection of directory placement, Then add the MySQL Bin directory path to the PATH environment variable

Then enable cmd (must be administrator mode), and then adjust the directory to the MySQL bin directory, followed by simple input mysqld--initialize (note is two-), and then execute mysqld- Install, the service is prompted for a successful installation and then starts.

"MySQL Learning" Installation and Configuration service failed to start without reporting any errors

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.