Win7 installing MySQL boot from the boot

Source: Internet
Author: User

1. Download install MySQL, I use Mysql_5.6.24_winx64_xiazaiba, unzip to a disk below, I install here to D disk, D:\install\MySQL\MySQL Server 5.6.

2. set the system environment variable , for convenience, add the MySQL Bin folder path in the path of the system variable of the Windows environment variable (for example:D:\install\MySQL \mysql Server 5.6\bin), does not need to run in the D:\mysql-5.5.23-win32\ Bin directory.


3. Next, let's start by trying to add the MySQL service into Winsows services.msc, and enter mysqld--install MySQL--defaults-file= "directly in cmd command line mode D:\install\ Mysql\mysql Server 5.6\bin\my.ini "
After success, run->services.msc to find MySQL service, start the service.


Note: If the startup does not successfully modify the registry start-run->regedit
Find Hkey_local_mechine---SYSTEM---ControlSet001 or ControlSet002 for services, and then find the MySQL entry, modify the ImagePath value to read: "D:\install\MySQL \mysql server 5.6\bin\mysqld "--defaults-file=" D:\install\MySQL\MySQL server 5.6\bin\my.ini "MySQL


A problem occurred when configuring boot from:
Install/remove of the service denied! error occurred while installing the MySQL service
Permissions issue, open cmd.exe, but this time to right-click "Run as Administrator", and then type Mysqld--install, you can

Win7 installing MySQL boot from the boot

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.