phpstudy upgrade mysql8.0

Step One: Download mysql8.0 package
mysql8.0 package Download: https: //dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.12-winx64.zip Step Two: Back up your the old database, stop your mysql service, copy the my.ini mysql directory under the old version to a place, to use later.
Remove the old version of mysql or rename.
The third step: unzip mysql8.0 Mysql directory to the next
Step Four: Modify the configuration items we my.ini Step 2. Copy the file, as shown below, and then move the file to Mysql directory D: \ phpStudy \ PHPTutorial \ MySQL (phpstudy according to your actual path)
<ignore_js_op>
step five: the command line to enter the bin directory to perform initialization Mysql directory MySQL
mysqld --initialize the --console 
after successful installation the following prompt:
2019-03-09T10: 35: 05.464644 . 5 the Z [Note] [MY-010 454] [Server] a Temporary generated iS password for the root @ localhost:  BPWCY5wdhsio
string above standard yellow initialization after installation mysql8.0 password generation service, down!
step Six: the installation command
mysqld install
step Seven: start mysql test
start: net start mysql
connection mysql: [size = 13.3333px] -u the root MySQL - P
renderings as follows:
<ignore_js_op> 

More technical information may concern: gzitcast

Guess you like

Origin www.cnblogs.com/heimaguangzhou/p/11446956.html