我在Debian jessie上安装了mariaDB 10.2。一切都工作正常,直到我更新root用户的插件列,我已将其设置为plugin=0
而不是plugin=''
,以允许访问非sudo用户,因为我一直在做。所以我无意识地设置了0。
现在我无法访问数据库并仍然收到相同的错误ERROR 1524 (HY000): Plugin '0' is not loaded
我怎么解决这个问题 ?我可以将mariaDB重新加载到其默认状态吗?
有没有办法从表文件或类似的东西中更改插件值?
答案 0 :(得分:1)
由于没有人重播我必须自己动手,所以我通过完全删除(清除)mariaDB服务器并重新安装它解决了这个问题,这解决了这个问题。我相信还有其他解决方案,但对我来说这是最快的!
sudo apt-get purge mariadb-server mariadb-client
sudo apt-get autoremove mariadb-server mariadb-client
// remove all leftover files
sudo apt-get purge mariadb-*
并重新安装它:)