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

  • SEARCH
  • Home
  • 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

I am attempting to connect to my local MySQL server with the following code:
I get the following error when attempting to connect to a web service via
I get the following error when attempting to use django-openid-auth OpenID discovery error: No
I get following error when deploying on test server with II6 and Framework 3.5
I am attempting to connect to a MySQL database setup by XAMPP using the
I get the following error when attempting to install RubyGems . I've tried Googling
I frequently get the following error when attempting to execute simple statements against a
When creating a new build in Team Foundation Server, I get the following error
I'm attempting to connect to a MySQL server using C++ with the MySQL ODBC
When attempting to compile my C# project, I get the following error: 'C:\Documents and

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.