- mysql version is 5.7.12
- Download address official website
- Pressurize to any directory
- Modify the configuration file of my.ini
- Mainly the modification of the base directory and the data directory
- Copy the share\english\errmsg.sys in the mysql directory to the share in the base directory (the base is created by yourself, there must be no share directory, so you need to create it yourself)
- The administrator executes cmd (not sure to report an error)
- cd to the bin directory of mysql
- Execute mysqld --initializ (this is to initialize mysql)
- Execute mysqld --install (initialize mysql service)
- net start mysql
- in the data directory. The root password is known in the log file
- Log in
- Modify password SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpass');
mysql installation under windows
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326891031&siteId=291194637
Recommended
Ranking