Manually install the MySQL service to windows _ MySQL

Source: Internet
Author: User
Manually install MySQL service to windows. my system is win7 x64 and mysql version 5.6 (many old tutorials on the Internet are useless and the version is too old. this is my summary)

.

The installation process is actually simple:

  1. Open cmd and cd to the bin directory of the mysql file. I decompress it to C:/Program Files/mysql, and enter
    Cd "C:/Program Files/mysql/bin"
  2. Use mysqld.exe to install the service
    Mysqld -- install
  3. Parameters of the supervisor (added by default during installation ).
    SC config MySQL binpath = "C:/Program Files/mysql/bin/mysqld MySQL"

    Why do you want to do this? many people on the Internet say that the service cannot be started after installation. open computer management-service and view MySQL service attributes, and you will find that the default path is incorrect, you need to change it to the correct path.

OK. Now the MySQL service is installed.

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.