19

I am trying to connect to a remote MySQL database using DBeaver 3.6.3. But when I try to add the server as a new connection, I need to select a connection type. I select MySQL and as soon as I click on next, it gives me this error

Imgur

I have tried restoring driver settings to default - no effect. I have tried removing the metadata folder in Users and restarting - no effect

Zoe
  • 27,060
  • 21
  • 118
  • 148
Teun van der Wijst
  • 939
  • 1
  • 7
  • 21

5 Answers5

31

In my case I had to add the Maven index site url in DBeaver as follows:

  1. Go to DbBeaver "Preferences" menu
  2. Locate "Connections" -> "Drivers" -> "Maven"
  3. Click "Add" and paste this link: https://mvnrepository.com
  4. Click "Apply" and "Close"
  5. On the driver settings menu that will appear, click "Download"

After the download has finished, I was able to connect to the database.

thanos.a
  • 2,246
  • 3
  • 33
  • 29
5

It is possible that you don't have direct internet access on your working plan (e.g. because of some corporate proxy). In this case you could try:

Download drivers manually from https://jdbc.postgresql.org/download.html and then add jars in driver editor Try to configure HTTP proxy in preferences

Note: Ref site

https://github.com/dbeaver/dbeaver/issues/1898

Aashiq
  • 51
  • 1
  • 2
4

Have you tried to reinstall the driver? I've tried DBeaver on Linux, mysql connector v 5.1.39 worked fine (mysql 5.6.15).

I had issues a month ago with dbeaver and connecting to a mssql db, updating dbeaver to the v4.0.0 fixed it, maybe you could try that too? You'll have to build it though, if this doesn't scare you: https://github.com/serge-rider/dbeaver

remborg
  • 528
  • 3
  • 14
4

I fixed maven dependencies error encountered while installing db driver as follow:

Solution tested on DBeaver Version 21.3.5

ben.IT
  • 1,490
  • 2
  • 18
  • 37
1

if any body is facing the above issue then remove the jar files from dbvear library and add the below jar file download from the link below and add it in the driver library and try to connect it.it worked for me hope this might helpful

https://jar-download.com/artifacts/com.microsoft.sqlserver/mssql-jdbc/8.2.0.jre8/source-code