When I opened DataGrip today, it suddenly gave me such an exception. 🤬
Solution:
- Check if the MySQL server is already running. On Windows, you can check if the MySQL service is running through the "Services" application. If it is not running, start it.
- Check if your network connection is working properly. If your network connection is not working properly, you may not be able to connect to the MySQL server.
- Check if your MySQL server configuration is correct.
Done