Closed DailyDreaming closed 1 year ago
The startmysql function often returns before the server is fully operational and you get an error like:
Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused") when trying to connect
This PR solves that issue by waiting for a maximum of 10 seconds before continuing.
Will re-open after some changes.
The startmysql function often returns before the server is fully operational and you get an error like:
This PR solves that issue by waiting for a maximum of 10 seconds before continuing.