【MySQL】创建用户时报错 发布时间:2026/9/23 12:54:39 尧图网站建设 目录 前言解决方法 前言 在使用mysql服务时,用root创建用户,出现如下错误 The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 解决方法 在mysql服务中输入指令 flush privileges; 重启mysqld服务器 systemctl restart mysqld 之后重新创建用户。 网站建设 视觉设计 SEO优化 返回列表
目录 前言解决方法 前言 在使用mysql服务时,用root创建用户,出现如下错误 The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 解决方法 在mysql服务中输入指令 flush privileges; 重启mysqld服务器 systemctl restart mysqld 之后重新创建用户。