MySQL installation diagram tutorial: unzip version configuration installation

  
Many friends downloaded the Zip format MySQL file and found that there is no installation file inside, and they are at a loss to face a lot of files. The following system home Xiaobian will bring you a MySQL installation diagram tutorial: unzip version configuration installation. 1. MySQL installation files are divided into two types, one is msi format, one is zip format. If it is in the msi format, you can click the installation directly, and follow the installation instructions given by it. (I believe everyone can understand English in English), generally MySQL will be installed in C:\\Program Files\\MySQL\\MySQL Server 5.6 The zip format is self-extracting. After decompression, MySQL can be used, but it needs to be configured. 2. After unzipping, you can rename the folder and put it in the appropriate location. Personally, rename the folder to MySQL Server 5.6 and put it in the C:\\Program Files\\MySQL path. Of course, you can also put it wherever you want to go; 3. After completing the above steps, many users start using MySQL, but there will be a graphical error. This is because there is no environment variable configured. Configuring environment variables is simple: - My Computer -> Properties -> Advanced -> Environment Variables; - Select PATH, followed by: Path to your mysql bin folder (eg C:\\Program Files\\ MySQL\\MySQL Server 5.6\\bin ) PATH=.......;C:\\Program Files\\MySQL\\MySQL Server 5.6\\bin (note that it is append, not overwrite) 4. Don't be busy after configuring environment variables Start mysql, we also need to modify the configuration file (if there is no configuration, after the startup will appear the error in the picture!: error 2 system can not find the file), mysql-5.6.1X default configuration file is in C :\\Program Files\\MySQL\\MySQL Server 5.6\\my-default.ini, or create a my.ini file yourself; modify or add configuration in it (as shown): [mysqld]basedir=C:\\Program Files\\MySQL\\ MySQL Server 5.6 (where mysql is located) datadir=C:\\Program Files\\MySQL\\MySQL Server 5.6\\data (where mysql is located\\data) 
Copyright © Windows knowledge All Rights Reserved