I have an application with local DB, which is H2. But customer is using MySQL. There were some issues on customer side, so I decided to install and run an application against MySQL on local machine (MacOS). I am using java 9.
After click on "Test Connection" I am getting following error.
There is a lot of comments:
packet drops or badly configured Firewall/Switch
known bug - solution in maven dependency
But most of them are not in test connection, but in configuration. Also the connection for those guys works at least once or through another set of firewalls. None of the previous solutions fit my case.
I also try to restart MySQL with:
sudo service mysql restart
With the result:
service: command not found
Or just to check the status with:
sudo service mysql status
With the result:
service: command not found
I dont know if it is connected to my issue? Is db running "forever" or idea will run it only when I will run the app? Could anyone help with connection to db?