Closed
Description
I have my data stored local via bind mounting to have my test data after restarts. target is /var/lib/mysql and the folder is ./preseved_data/mysql. Worked perfectly for mysql 5.6. Now that we are moving to mysql 8.0 we hit an annoyance that wasn't there at first with mysql 8. The mysql.sock file is there between restarts of mysql. This causes the error "| chown: cannot dereference '/var/lib/mysql/mysql.sock': No such file or directory". If I delete only the mysql.sock file, everything works perfectly. We are using ARM based machines, which is why we are using the 8.0-oracle tag.