时间:2021-07-01 10:21:17 帮助过:18人阅读
OpenWindow -> Show View -> Date Source Explorer
When you open the window, it would look like this below screenshot.
Right click on the above database option and select “New” for creating the new connection from the database. This below wizard shows the list of databases it supports, here we select the MySQL for our example.
The below wizards helps you to configure the MySQL driver package and the connection details. This wizard shows the empty list, you have to click on the icon just beside the field “Drivers” which open the new dialog to add the MySQL drivers from your system. If you already have it configured, the the field “Drivers” would list the driver names.
Select the MySQL version to be configured.
If you don’t have the JAR files added, please add it manually by clicking on the “Add Jar/Zip” button.
Look at the below screenshot, the MYSQL driver is successfully configured and shown in the list. This wizard also helps you to test the connection. If you click on the button “Test Connection”, it will test the connection with database.
That’s it!. You have configured the database right within your Eclipse project. You can view the data by clicking on the options provided.