Can't connect to MySQL in IntelliJ IDEA

3.3k Views Asked by At

I have this problem:

image1

image2

This issue (cannot find specified file) appeared when I updated IntelliJ IDEA to version 2017.3.2.

IntelliJ IDEA 2017.3.2 (Ultimate Edition)
Build #IU-173.4127.27, built on December 25, 2017
JRE: 1.8.0_152-release-1024-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

All input data is correct. What is the reason?

1

There are 1 best solutions below

0
On

If you configured data sources from IJ folder then a new version of IJ might contain newer versions of libraries and you should recreate you DS after upgrade.

To make a connection to databases from IJ you need to configure data sources first. A datasource contains a path to the library with drivers needed to make a connection to the server.

You can read how to connect to databases in IJ.

To be able to work with your database, define it as a data source.

In the lower part of the dialog, within Download missing driver files, click the Download link.