0% found this document useful (0 votes)
765 views

Mysql - DBeaver Error Resolving Maven Dependencies - Stack Overflow

The document is about resolving maven dependencies errors when trying to connect to a remote MySQL database using DBeaver. It provides a 3 step solution: 1. Go to the DBeaver "Preferences" menu and locate the "Connections" -> "Drivers" -> "Maven" section. 2. Click "Add" and paste the Maven index site URL https://mvnrepository.com 3. Click "Apply" and "Close". Then click "Download" on the driver settings menu to download the dependencies. After downloading the dependencies, the user should be able to connect to the database without errors.

Uploaded by

Penjelajah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
765 views

Mysql - DBeaver Error Resolving Maven Dependencies - Stack Overflow

The document is about resolving maven dependencies errors when trying to connect to a remote MySQL database using DBeaver. It provides a 3 step solution: 1. Go to the DBeaver "Preferences" menu and locate the "Connections" -> "Drivers" -> "Maven" section. 2. Click "Add" and paste the Maven index site URL https://mvnrepository.com 3. Click "Apply" and "Close". Then click "Download" on the driver settings menu to download the dependencies. After downloading the dependencies, the user should be able to connect to the database without errors.

Uploaded by

Penjelajah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

About Products For Teams Search… Log in Sign up

Home
DBeaver error resolving maven dependencies Ask Question

Questions Asked 6 years, 9 months ago Modified 1 year, 3 months ago Viewed 78k times

Tags
I am trying to connect to a remote MySQL database using DBeaver 3.6.3. But when I try to
The Overflow Blog
add the server as a new connection, I need to select a connection type. I select MySQL and as
Users
19 soon as I click on next, it gives me this error CEO update: Giving thanks and building
Companies upon our product & engineering
foundation

The AI assistant trained on your


COLLECTIVES
company’s data
Explore Collectives
Featured on Meta

LABS Update: New Colors Launched

Discussions Incident update and uptime reporting

TEAMS Temporary policy: Generative AI (e.g.,


ChatGPT) is banned
Stack Overflow for Beta test for short survey in banner ad
Teams – Start I have tried restoring driver settings to default - no effect. I have tried removing the metadata slots starting on the week of...
collaborating and
folder in Users and restarting - no effect Collectives updates: new features and
sharing organizational
ways to get started with Discussions
mysql database jdbc dbeaver

Related
Share Improve this question edited Sep 17, 2021 at 10:17 asked Feb 17, 2017 at 8:22 Maven dependency with MySQL
5
Follow Zoe is on strike ♦ Teun van der Wijst
27.3k 22 121 151 949 1 7 21 0 Maven dependency (MySQL-Connector)
not found during testing phase

Add a comment 7 ClassNotFoundException:


com.mysql.jdbc.jdbc2.optional.MysqlDataSo
urce
5 Answers Sorted by: Highest score (default)
11 Maven - java.lang.ClassNotFoundException:
com.mysql.jdbc.Driver
In my case I had to add the Maven index site url in DBeaver as follows:
0 java.lang.ClassNotFoundException:
com.mysql.jdbc.Driver for Maven runnable
1. Go to DbBeaver "Preferences" menu
32 jar
2. Locate "Connections" -> "Drivers" -> "Maven" Spring JDBC dependency issues
1
3. Click "Add" and paste this link: https://mvnrepository.com
2 JDBC Connection Error With Maven
4. Click "Apply" and "Close"
1 Maven mysql-connector dependency
5. On the driver settings menu that will appear, click "Download" doesnt work

After the download has finished, I was able to connect to the database. 0 java.lang.ClassNotFoundException:
com.mysql.jdbc.Driver exception thrown,
even though dependency was added to
Share Improve this answer Follow edited Aug 10, 2022 at 8:53 answered Jul 18, 2022 at 9:07 pom.xml and the driver is registered
thanos.a Dependency 'mysql:mysql-connector-
2
2,276 3 33 29 java:8.0.29' not found

1 mvnrepository.com is not a repository, it is an index site. – Mark Rotteveel Jul 18, 2022 at 9:21 Hot Network Questions
1 @manudicri Mark's comment was mainly about the terminology and not the actual steps of the
Melted electrical outlet
answer. I integrated his correction by editing the 1st line of my answer. – thanos.a Sep 26, 2022 at 9:00
Which mortgage should I pay off first?
Add a comment
How does wealth corrupt someone?

Rounded Dice - Why do the simplest things seem


It is possible that you don't have direct internet access on your working plan (e.g. because of so difficult
some corporate proxy). In this case you could try: Can a device that causes memory loss be created
5 with near-modern technology?
Download drivers manually from https://jdbc.postgresql.org/download.html and then add
How to weave Anni Albers Red Meander carpet?
jars in driver editor Try to configure HTTP proxy in preferences
Flag Interpretation

Note: Ref site Decode the date in Christmas Eve format

What is this called? Using one word that has a one


https://github.com/dbeaver/dbeaver/issues/1898
meaning but then is given new meaning in a
subsequent clause or sentence
Share Improve this answer Follow answered Mar 10, 2020 at 11:29 How can I keep large packs of ham fresh longer?
Aashiq
Is there equivalent for "I'm starving to death" in
51 1 2
Portuguese?

How do I support my advisor on his most busy


Link seems changed. Try: jdbc.postgresql.org/download – Roland Sep 21, 2022 at 6:34 weeks?

Add a comment My global IP address is 192.168.1.xxx?

Was Starship’s “launch window” bureaucratic,


rather than physical?
Have you tried to reinstall the driver? I've tried DBeaver on Linux, mysql connector v 5.1.39
Solving underdetermined Lyapunov equation?
worked fine (mysql 5.6.15).
Strange dmesg UFW messages... lots of them
4
I had issues a month ago with dbeaver and connecting to a mssql db, updating dbeaver to Is there any way to legally sleep in your car while
the v4.0.0 fixed it, maybe you could try that too? You'll have to build it though, if this doesn't drunk?
scare you: https://github.com/serge-rider/dbeaver How did Nevada Governor Joe Lombardo explain
why he vetoed a bill that would ban people from
acting as fake electors?
Share Improve this answer Follow answered Feb 17, 2017 at 8:42
Why does a backslash at the end of the line place
remborg undue whitespace?
528 3 14
What's going on with the bonkers derailleur?

Is it possible to have a multivariate random


I'm afraid that wont be a solution, i'm working on a pc at work and we have restricted permissions, aka distribution with all its random variable reverse
i dont have admin rights and i cant install things on here, i downloaded dbeaver via a local software correlated?
center application – Teun van der Wijst Feb 17, 2017 at 8:49
Pattern matching vs. condition in a function
that wont be an option because as i said i cannot install things on my work laptop Cleaning Yaml Data in Python
– Teun van der Wijst Feb 17, 2017 at 9:09
Is smart watch illegal while in controll of the
You can get a portable version of mysql workbench, no need to install. – remborg Feb 17, 2017 at 9:26 vehicle?

oh, cool I did not know that. using workbench i was able to connect. thank you – Teun van der Wijst Question feed
Feb 17, 2017 at 10:11

Add a comment

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

first set up http_proxy if needed


4
then add the mvn URL repository in the download configuration settings as describe in
this issue

Solution tested on DBeaver Version 21.3.5

Share Improve this answer Follow answered Feb 24, 2022 at 11:43
ben.IT
1,510 2 18 38

Add a comment

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
1 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

Share Improve this answer Follow answered Mar 10, 2021 at 12:11
user15368123
11 1

Add a comment

Highly active question. Earn 10 reputation (not counting the association bonus) in order to answer this
question. The reputation requirement helps protect this question from spam and non-answer activity.

Not the answer you're looking for? Browse other questions tagged mysql database jdbc

dbeaver or ask your own question.

STACK OVERFLOW PRODUCTS COMPANY STACK EXCHANGE NETWORK Blog Facebook Twitter LinkedIn Instagram

Questions Teams About Technology


Help Advertising Press Culture & recreation
Collectives Work Here Life & arts
Talent Legal Science
Privacy Policy Professional
Terms of Service Business
Contact Us
API
Cookie Settings
Data Site design / logo © 2023 Stack Exchange Inc; user
Cookie Policy contributions licensed under CC BY-SA. rev 2023.11.15.1019

You might also like