【发布时间】:2021-06-16 17:14:03
【问题描述】:
所以我不小心更改了我的 root 用户的权限,我现在什么也做不了,因为数据库是隐藏的,因为没有全局权限,
已经尝试更改 [mysqld] 中的某些行并添加
skip-grant-tables
在 my.ini 中,但它不能再次将权限更改为正常,只是说
ERROR 1290 (HY000): The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement
我的问题有什么解决方案吗?
【问题讨论】:
-
什么语句不能执行?
-
它的所有声明导致root@localhost 没有任何特权ibb.co/3S2Vz6r
-
所以您需要使用
--skip-grant-tables运行数据库并添加这些...您何时收到错误ERROR 1290 (HY000): The MariaDB server is running with the --skip-grant-tables option so it cannot execute this statement? -
是的,它在 xampp 中,我如何再次将该授权更改为所有人?
-
检查我的答案,如果有效,请接受。