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