为了能快速了解并处理您的问题,请提供以下基础信息:
9.4.0
Alibaba Cloud Linux 3.2104 LTS 64位
在面板中操作mysql,不小心用SQL语句[backcolor=rgba(0, 0, 0, 0.03)]REVOKE[backcolor=rgba(0, 0, 0, 0.03)] [backcolor=rgba(0, 0, 0, 0.03)]ALL[backcolor=rgba(0, 0, 0, 0.03)] PRIVILEGES [backcolor=rgba(0, 0, 0, 0.03)]ON[backcolor=rgba(0, 0, 0, 0.03)] [backcolor=rgba(0, 0, 0, 0.03)]*[backcolor=rgba(0, 0, 0, 0.03)].[backcolor=rgba(0, 0, 0, 0.03)]*[backcolor=rgba(0, 0, 0, 0.03)] [backcolor=rgba(0, 0, 0, 0.03)]FROM[backcolor=rgba(0, 0, 0, 0.03)] [backcolor=rgba(0, 0, 0, 0.03)]'root'[backcolor=rgba(0, 0, 0, 0.03)]@[backcolor=rgba(0, 0, 0, 0.03)]'%'[backcolor=rgba(0, 0, 0, 0.03)];[backcolor=rgba(0, 0, 0, 0.03)]DROP[backcolor=rgba(0, 0, 0, 0.03)] [backcolor=rgba(0, 0, 0, 0.03)]USER[backcolor=rgba(0, 0, 0, 0.03)] IF [backcolor=rgba(0, 0, 0, 0.03)]EXISTS[backcolor=rgba(0, 0, 0, 0.03)] [backcolor=rgba(0, 0, 0, 0.03)]'root'[backcolor=rgba(0, 0, 0, 0.03)]@[backcolor=rgba(0, 0, 0, 0.03)]'%'[backcolor=rgba(0, 0, 0, 0.03)];禁止root远程访问,导致面板无法访问mysql,无法配置数据库。
|
|