安装mysql数据库的时候出现的问题
问题遇到的现象和发生背景
问题相关代码,请勿粘贴截图
2021-12-11T08:24:33.899751Z 0 [ERROR] InnoDB: Operating system error number 13 in a file operation.
2021-12-11T08:24:33.899773Z 0 [ERROR] InnoDB: The error means mysqld does not have the access rights to the directory.
2021-12-11T08:24:33.899782Z 0 [ERROR] InnoDB: Cannot create ./ib_logfile101
2021-12-11T08:24:33.899791Z 0 [ERROR] InnoDB: InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
2021-12-11T08:24:34.500297Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2021-12-11T08:24:34.500342Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2021-12-11T08:24:34.500355Z 0 [ERROR] Failed to initialize builtin plugins.
2021-12-11T08:24:34.500362Z 0 [ERROR] Aborting
运行结果及报错内容
InnoDB Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
我的解答思路和尝试过的方法
我想要达到的结果
要删除哪些数据, 失败的原因
看那么多废话 还不如直接重新装MySQL呢。