After installing mysql, modify the port number and password. change the password grantallprivilegeson *. * toroot @ localhostidentifiedbynewpassword; 2. modify the port number (1) Stop mysql service in the Service (2) in the mysql installation directory, find my. INI file, modify the port number
After installing mysql, modify the port number and password. change the password grant all privileges on *. * to 'root' @ 'localhost' identified by 'new password'; 2. modify the port number (1) Stop mysql service in the Service (2) in the mysql installation directory, find my. ini file, modify the port number
Modify the port number and password after installing mysql
1. Change the password
Grant all privileges on *. * to 'root' @ 'localhost' identified by 'new password ';
2. Modify the port number
(1) Stop mysql services in the service
(2) In the mysql installation directory, find the my. ini file and modify the port number.