• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Home
  • Advertise With Us
  • Contact

TechWalls

Technology News | Gadget Reviews | Tutorials

  • Reviews
  • Tech Guide
  • Home Improvement
  • Gadget & Apps
  • Deals
  • News

How to Connect MySql DataBase Driver with Eclipse IDE

By Guest Authors

Those who want to connect databases with Eclipse IDE. This will help you to learn step by step to establish a connection of database in Eclipse IDE. You have these software to connect database with Eclipse:

  • Mysql.
  • Mysql Connector jar file.

You can easily download these software from the given link this will save your time. These are :

  • Mysql
  • Mysql Connector jar file

Read also: How to install Android on your System with Eclipse IDE

When your download is completed then you have to follow some steps to establish a connection between database and Eclipse IDE. There are some steps to establish connection between database and Eclipse IDE:

Step 1:

First you have to install the Mysql 5.5 from the given link. Follow the instructions and install it. When installation is completed now you can access the Mysql on your system.

Step 2:

  • Open Eclipse IDE.
  • Go to Windows -> Open Perspective -> Others ->Database Development perspective.

eclipse-ide-1

  • Data Source Explorer is open.

Step 3:

  • In Data Source Explorer -> Database Connections right click on it select new then new window is open. That window is new connection profile window.

eclipse-ide-2

  • In the New Connection Profile window. You have to select the “MySQL” Connection click on next button.
  • New Driver Definition window is open. There are three tab options that are name/type, jar list, properties.

eclipse-ide-3

  • In name/type tab Select the MySQL JDBC Driver version 5.1.
  • On jar list tab add driver .jar file from the pakage that you downloaded and remove the default .jar that was added. Select that file and click ok.

Step 4:

  • After second step is completed edit the connection properties. Change the database to actual database name that you want to connect. Put the username and password that you gave the name in MySql 5.5 installation. (For example username root password is nancy)
  • Select the save password option.
  • Select the Test Connection to check the connection is established or not.
  • Ping connection is established then your connection is successfully established.
  • Click finish button.

Now you are successfully connected MySql JDBC Driver with Eclipse IDE.

Hopefully this information is usefull for you

Thank you

Disclosure: We might earn commission from qualifying purchases. The commission help keep the rest of my content free, so thank you!

Footer

Lumary Christmas Cone Tree Lights Review – Great Holiday Lights With A Few Defects

Lakumu Rechargeable Fairy Lights Review – Lighting Up Your Holiday

SCREENMAX Pull-Up 80-inch Projector Screen Review – Good For Indoors and Outdoors?

Best Outdoor Bluetooth Speaker Under $100: W-KING or Soundcore Boom 2?

Follow TechWalls

YoutubeFacebookTwitterInstagram

Recent Posts

  • Lumary Christmas Cone Tree Lights Review – Great Holiday Lights With A Few Defects
  • Top HOTO Tools to Grab in Black Friday Sales 2024 for Perfect Christmas Gifts
  • SITERWELL Smoke and Carbon Monoxide Detectors – Stay Safe and Save This Holiday
  • Finder S1 Thermal Camera Review: A Compact, Affordable, Yet Powerful Thermal Imaging Tool

Copyright © 2024 · All Rights Reserved