原授权语句
GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;
mysql8.0版本使用语句变为:
grant all privileges on *.* to 'root'@'localhost';
posted on 2023-03-09 13:59 3SU 阅读(380) 评论(0) 编辑 收藏 举报