mysql - 我在 mysql 中得到 --skip-grant-table

标签 mysql ubuntu

每当我尝试在 mysql 中执行查询时,我都会收到此消息:

ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement

如何禁用 --skip-grant-tables?

谢谢!

最佳答案

我明白了!

我继续:

GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;

FLUSH PRIVILEGES;

谢谢!

关于mysql - 我在 mysql 中得到 --skip-grant-table,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24924113/

相关文章:

php - 在 laravel 中 save() 之后发送模型以查看 id

php - 从数据库中获取今天日期的数据

node.js - codium + pcmanfm-qt == 70+ CWD 和 SIZE 每秒命令

python - 安装库时 Docker Image 构建失败 : Failed to establish a new connection: [Errno -5] No address associated with hostname

MySQL Join 3 个表仅返回一个值

php - 同时更新表中的两个字段

mysql - Microsoft动态 Access 基于Web的格式

django - 使用 Nginx 作为服务部署 Django

linux - 无法从脚本 .sh 中删除 .tgz 文件

python - 在不同的 shell 窗口中启动 2 个并行进程