Quote
after the reboot when I try to open our customer's website, it says "cannot establish a database connection" although the service is on autostart and works flawlessly.
The PHP scripts are (i) on the host connecting to the VM MySQL instance, (ii) on the guest connecting to the guest MySQL instance?
Assuming (i), at the moment when the website db connection fails, can you connect to the VM MySQL instance from the host with ...
mysql -hVMGUESTNAME -uMYSQLUSR -pMYSQLPSWD
... if not, what's the error message, if so does that also enable the PHP connection?
Again assuming (i), can the root MySQL user connect to the VM MySQL instance with the above cmd?