[英]Unable to start MySQL 8.0.12 after lower_case_table_names Settings
I have same issue as the link per lower_case_table_names Settings in MySQL 8.0.12我有与MySQL 8.0.12 中每个lower_case_table_names 设置的链接相同的问题
I followed the steps of stackprotector till step no 6 and log file show below我按照stackprotector的步骤直到第6步和日志文件显示如下
2021-06-18T09:35:13.134465Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-06-18T09:35:14.078706Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2021-06-18T09:35:14.966455Z 6 [Note] [MY-010454] [Server] A temporary password is generated for root@localhost: 5ip,8m>awvsJ
On step 7, i am unable to start the mysql server在第 7 步,我无法启动 mysql 服务器
The command i used is mysqld instead of mysql我使用的命令是mysqld而不是 mysql
sudo service mysqld start
I have the error log as below我有如下错误日志
2021-06-18T09:36:04.023595Z 0 [System] [MY-010116] [Server] /usr/libexec/mysqld (mysqld 8.0.21) starting as process 31701
2021-06-18T09:36:04.030626Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-06-18T09:36:04.030713Z 1 [ERROR] [MY-012592] [InnoDB] Operating system error number 13 in a file operation.
2021-06-18T09:36:04.030749Z 1 [ERROR] [MY-012595] [InnoDB] The error means mysqld does not have the access rights to the directory.
2021-06-18T09:36:04.030777Z 1 [ERROR] [MY-012270] [InnoDB] os_file_get_status() failed on './ibdata1'. Can't determine file permissions
2021-06-18T09:36:04.030809Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2021-06-18T09:36:04.030927Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2021-06-18T09:36:04.030989Z 0 [ERROR] [MY-010119] [Server] Aborting
2021-06-18T09:36:04.031285Z 0 [System] [MY-010910] [Server] /usr/libexec/mysqld: Shutdown complete (mysqld 8.0.21) Source distribution.
What's being wrong here?这里有什么问题?
I have grant all permission on我已授予所有权限
chmod 777 /var/lib/mysql
Answer is over here.答案到此为止。 Tried below and it works https://programmersought.com/article/46215060629/在下面尝试过,它有效https://programmersought.com/article/46215060629/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.