Re: Database unreachable unless I start the MYSQL Workbench
Posted by: Peter Brawley
Date: October 08, 2018 10:17AM


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 ...


... 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?

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.