修改密码
update user set password=password(‘‘) where user=‘root‘;
FLUSH PRIVILEGES;
远程访问权限:
GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘‘ WITH GRANT OPTION;
FLUSH PRIVILEGES;
2022-10-18 14:40:30
修改密码
update user set password=password(‘‘) where user=‘root‘;
FLUSH PRIVILEGES;
远程访问权限:
GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘‘ WITH GRANT OPTION;
FLUSH PRIVILEGES;