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.