If importTimeZones is true or default-time-zone then the configureTimezones script will be executed during startScript initialization, if and only the dataDir does not exists.
The initialization fails with similar error:
[mysql ] 2024-04-22T15:42:53.257499Z 0 [ERROR] Could not create unix socket lock file ./data/mysql/config.sock.lock.
The socket path used in configureTimezones script is relative and mysql fails to create it.
If
importTimeZones
is true ordefault-time-zone
then theconfigureTimezones
script will be executed duringstartScript
initialization, if and only the dataDir does not exists.The initialization fails with similar error:
The socket path used in
configureTimezones
script is relative and mysql fails to create it.