MySql 授权登录

MySql 授权登录

mysql -u root
use mysql;
update user set password=PASSWORD("123456") where user='root';
grant all on *.* to root@"%" identified by "123456"; 

猜你喜欢

转载自crabdave.iteye.com/blog/2337279