Installation of Mysql decompress version _ MySQL

Source: Internet
Author: User
Install Mysql decompress version

Install Mysql decompress version

-- @ Liang WP

1. decompress mysql to a proper location

2. right-click computer-properties-advanced system settings-advanced-environment variables. in the displayed "environment variables" dialog box, modify the following system variables.

3. new MYSQL_HOME variable, the value is the decompression path just now, such as D:/mysql-5.6.15

4. edit the Path variable and add % MYSQL_HOME %/bin at the end;

5. under D:/mysql-5.6.15, create my. ini

6. enter the following content in my. ini:

[Client]

Port = 3306

Default-character-set = utf8

[Mysqld]

Port = 3306

Character_set_server = utf8

Basedir = D:/mysql-5.6.15

Datadir = D:/mysql-5.6.15/data

SQL _mode = NO_ENGINE_SUBSTITUTION, STRICT_TRANS_TABLES

[WinMySQLAdmin]

D:/mysql-5.6.15/bin/mysqld.exe

7. in "run", enter cmd and then enter D:/mysql-5.6.15/bin

8. execute mysqld -- install MySQL -- defaults-file = "D:/mysql-5.6.15/my.ini.pdf, the idea is to execute mysqld.exe for installation, the service name is custom MySQL, the installation information file is D:/mysql-5.6.15/my. ini

9. if the installation is successful, run net start MySQL to start the MySQL service.

10. if the startup is successful, OK.

11. if the startup fails, execute mysqld -- remove MySQL, uninstall the MySQL service, and then re-execute steps 8th and 9th.

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.