1.修改密码:alter user ‘user name‘@‘localhost‘ identified by ‘new password‘;
2.授权远程登陆:grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘demon123‘;
flush privileges;
2022-07-13 09:35:16
1.修改密码:alter user ‘user name‘@‘localhost‘ identified by ‘new password‘;
2.授权远程登陆:grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘demon123‘;
flush privileges;