MySQL常用命令

设置root用户允许任何地址访问
update user set host = '%' where user = 'root';
刷新生效
FLUSH PRIVILEGES;
posted @ 2025-04-03 15:15  程序员の奇妙冒险  阅读(10)  评论(0)    收藏  举报