Skip to content

mysql.sock file causing issues on restart with 8.0-oracle instances #852

Closed
@cjcooper

Description

@cjcooper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions