Skip to content
Advertisement

How to connect to IntelliJ Ultimate’s LocalHost MySQL database?

I went to Database > + > Data Source > MySQL

Here’s what my panel looks like: enter image description here

This is the error:

JavaScript

and here’s my connection file:

JavaScript

What could be my problem? I tried searching up for what others have tried but none of them seemed to work and I had to make several copies of my entire project because I kept messing things up trying those solutions to no avail. More specifically Solving a “communications link failure” with JDBC and MySQL

Advertisement

Answer

You need to have MySQL server installed and running to be able to connect to it from the other apps.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement