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 6018637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:18:14+00:00 2026-05-23T03:18:14+00:00

I need to connect to a Microsoft SQL server using Java. I downloaded the

  • 0

I need to connect to a Microsoft SQL server using Java.

I downloaded the driver, an no matter what I did elipse and netbeans could not find the driver.

When I got frustrated I downloaded also MySql driver, and again I get the same exception.

I added the drivers path in the environmental variables and also included the jar files in my project library.

Here is a picture of my project:

pic
http://i56.tinypic.com/1ekple.jpg

What am I doing Wrong?

Thank you very much,
Idan.

  • 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-23T03:18:15+00:00Added an answer on May 23, 2026 at 3:18 am

    There is a typo in the url in order to connect to mysql.

    It should be jdbc:mysql://127.0.0.1:8888

    Also I would double check if your mysql server is actually running on port 8888 since normally a mysql answers on 3306.

    Also there are multiple JDBC drivers for Microsofts’ SQL server, which have different url. For the microsoft driver the url looks like jdbc:microsoft:sqlserver://localhost:1433

    Check the documentation of the driver for an example url to start from.

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

Sidebar

Related Questions

I need to reverse engineer a Microsoft SQL Server 2008 in order to create
I have a website using Microsoft SQL 2008 server over local network. Sometimes, SQL
I am running a LAMP server but now need to connect to MS SQL
I need to connect to a SQL server 2000 from SQL server 2008. but
I need to connect to a SQL Server 2008 instance in another Windows domain
I need to connect to an asmx webservice using javascript. the webservice accepts and
So our web server apps need to connect to the database, and some other
I need to be able to use https to connect to a server and
I need to develop an application that connects to various DSN's using the Microsoft
I get this error when I try to connect to a remote SQL server

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.