Original: MySql5.7.11 for Windows installation Lite (i)
- Download the compressed package from the official website, I downloaded the 64-bit. Extract.
- Streamline:
-bin only keep Mysqladmin.exe mysqld.exe Mysql.exe
- Share directory reserved Charsets 中文版
- No data folder one will tell how to generate
- Add environment variables, the path of the MySQL Bin folder (such as: C:\Program files\mysql\mysql Server 5.6\bin) added to the path, of course, before the deletion, with;
- Modifying a configuration file
- Change the filename, originally is My-default.ini, because the old version is My.ini, I changed over.
[Mysqld]
Basedir=c:\program files\mysql\mysql Server 5.6 (MySQL directory)
Datadir=c:\program files\mysql\mysql Server 5.6\data (MySQL is located in the directory \data, will be generated)
- Installation
- CMD runs with administrator privileges
- CD C:\Program files\mysql\mysql Server 5.6\bin (go to MySQL Bin folder)
- Input Mysqld-install
- Displays the installation success (English, of course ...). )
- Start the service
- Input net start MySQL (stop service is stop)
- Login
- Enter Mysql-u Root-p for the first time without a password, enter directly.
- Success!
MySql5.7.11 for Windows installation Lite (i)