MySQL Decompression version installation steps

Source: Internet
Author: User

System Win7,mysql 5.6.26 My system is 32-bit

1. Unzip and set environment variables

2, will my-default.ini copy one copy, the modified file name is My.ini, the file content is

[Mysqld]
# set Basedir to your installation path
Basedir=d:/tools/mysql5
# set DataDir to the * * * of your Data directory
Datadir=d:/tools/mysql5/data

Basedir for MySQL solution directory

DataDir the MySQL root directory under the data directory

Note that the path here must be a forward slash, and I'm just beginning to write a backslash that never starts the service.

4, enter c:\windows\system32 right click Cmd.exe, choose to run as Administrator, enter the MySQL root directory of the bin directory, execute mysqld-install, The command defaults to create the service under the root directory My.ini, the service name is MySQL and can be viewed through the services.msc command.

5, continue to execute net start MySQL can start the service.

6. You can use Mysqld-remove to remove the service.




MySQL Decompression version installation steps

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.