Tag Archives: :[ERROR] InnoDB: The innodb_system data file ‘ibdata1’ must be writable

CentOS7 MYSQL Connect Error: [ERROR] InnoDB: The innodb_system data file ‘ibdata1’ must be writable

MySQL has not been able to connect to my database, enter the password can not enter mysql

Report the error of not connecting to the service

Can ‘t connect to local MySQL server through socket ‘/tmp/mysql.sock ‘(2)

I just checked the MySQL log

cat /var/log/mysqld.log

An error was seen that the file does not have permissions

You can modify the read and write permissions of the file or the permissions of all files in the directory

Solution:

You can enter mysql