当我启动MySQL服务器时,出现以下错误:
/usr/libexec/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
我已经运行mysql_upgrade
过重建它,并且它可以重建。在此之前,我删除并安装了MySQL。但是,当我尝试重新启动时,出现相同的错误。我确信这不是权限问题,因为所有文件和目录都是由mysql
用户创建的。
您能建议我如何解决此错误吗?