查询用户表命令:
select User,password,Host from mysql.user;
新增权限用户设置的密码:
GRANT ALL PRIVILEGES ON *.* TO 'testuser'@'%' IDENTIFIED BY '123456';
重新加载权限数据:
flush privileges;
查询用户表命令:
select User,password,Host from mysql.user;
新增权限用户设置的密码:
GRANT ALL PRIVILEGES ON *.* TO 'testuser'@'%' IDENTIFIED BY '123456';
重新加载权限数据:
flush privileges;