Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 869839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:22:29+00:00 2026-05-15T10:22:29+00:00

I get the following error when attempting to connect to the MySQL database on

  • 0

I get the following error when attempting to connect to the MySQL database on my employer’s local server:

Unable to load database driver
Details : java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
BUILD SUCCESSFUL (total time: 0 seconds)

I think it’s pretty clear that this is because I don’t have my files set up properly. Only problem is, I don’t know what I need, and where it needs to go. Is the Driver a .class file? Where can I download it? Where in my filesystem (ubuntu, fwiw) do I put the file so that “Class.forName(“com.mysql.jdbc.Driver”).newInstance();” works?

Thanks for all your help, m8s.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:22:30+00:00Added an answer on May 15, 2026 at 10:22 am

    Yes, it is a .class file that uses a others .class files. You call all these collections of files, a library and in this particular case, the library is also named: “jdbc driver”.

    These libraries are usually .jar files, so in your case you may try:

    http://www.mysql.com/products/connector/j/

    To download the MySQL JDBC driver.

    You should put it in your classpath

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On execution (no compile error) I get on the console QWidget::setLayout: Attempting to set
I am attempting to put all my database connections in 1 php file, rather
I am attempting to use the SQL SERVER 2008 MERGE statement in a stored
I'm fairly new to this, and don't have anyone else to ask. I'm attempting
Just finished installing libevent(1.4.8), memcached(1.4.5), pear, and libmemcached(0.40) to my lamp server (running PHP
I am trying to get the 64-bit version of python up and running with
I have a ClearQuest database with a record type called BuildSheet. On a BuildSheet
I'm trying to send email in windows server using PHP. When I use php
(I see several questions related to my problem but none of the solutions work
I have a ClearQuest API script written in Perl. If I do this: #print

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.