MySQL 5.7.17 compressed version installation notes, mysql5.7.17
The following is an example of how to install MySQL 5.7.17 for your reference.
1. Download the compressed package and decompress it to the corresponding directory.
2. Add the bin directory Path of MySQL to the Path environment variable
3. Modify the profile my-default.ini
\ # Basedir =... \ # datadir = .....
Modify:
Basedir = G: \ Program Files \ MySQLdatadir = G: \ Program Files \ MySQL \ data
4. Run cmd as an administrator, run cd to the bin directory of MySQL, and enter mysqld -- initialize-insecure -- user = mysql to generate a root account without a password.
5. Enter mysqld-install, and the installation is successful.
6. start the service: Enter net start mysql, and the service is successfully started.
7. Log On: Enter mysql-u root-p. Enter the password and press Enter.
8. Change password: enter set password = password ('new password'); (do not forget the semicolon) to change the password.
Highlights: mysql installation tutorials for different versions mysql5.7 installation tutorials for various versions mysql5.6 installation tutorials
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.