You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mysql container fail to start, due to "The innodb_system data file 'ibdata1' must be writable". I have mount "/var/lib/mysql" like this: docker run --name=mysql -p 3306:3306 -v /paifu/docker/mysql/data:/var/lib/mysql --restart=always -d mysql5.7:latest
I try to change the permission chmod -R 777 ibdata1, but failed. chmod: changing permissions of ‘ibdata1’: Read-only file system
How can I fix this problem?
The text was updated successfully, but these errors were encountered:
mysql container fail to start, due to "The innodb_system data file 'ibdata1' must be writable". I have mount "/var/lib/mysql" like this:
docker run --name=mysql -p 3306:3306 -v /paifu/docker/mysql/data:/var/lib/mysql --restart=always -d mysql5.7:latest
I try to change the permission
chmod -R 777 ibdata1,
but failed.chmod: changing permissions of ‘ibdata1’: Read-only file system
How can I fix this problem?
The text was updated successfully, but these errors were encountered: