centos7 使用 mariadb 10.6.4 意外错误
The user specified as a definer ('mariadb.sys'@'localhost') does not exist
使用mariadb 10.6.4 的是时候, 使用root 账号想查看 用户信息时,出现一下错误

提示用户不存在, 想起来,是安装mariadb 后,自己清除掉了
现在手动添加上此用户
grant all privileges on *.* to 'mariadb.sys'@'localhost' identified by 'root' with grant option;
之后就可以查询了

问题解决

浙公网安备 33010602011771号