Menu
- Sample Jdbc Connectivity Program For Mac Using Eclipse Ide
- Dj Program For Mac
- Publisher Program For Mac
- Free Drawing Program For Mac
- Photo Editing Program For Mac
![Mac Mac](https://code.visualstudio.com/assets/docs/java/java-tutorial/install-extensions.gif)
Active7 years, 1 month ago
In this article, we will learn and list down the steps to connect MS Access database and finally executing a simple query to test whether connected database works as expected. We will divide this article into 2 parts. MS Access database; Java JDBC application. This is a java JDBC program which gets values from oracle DB table and show it to end user./.
I am trying to run this code below while learning the java sql stuff, however, i have created the database and tried it from the terminal its fine.
1-I get this error
2-I downloaded 'odbc manager' and i don't know why and what to do with it or if it has any relation to what am doing here?
Sample Jdbc Connectivity Program For Mac Using Eclipse Ide
3-I have downloaded Connector/ODBC and Connector/J. I went to JRE reference library and added 'mysql-connector-java-5.1.21-bin.jar' and tried the .tar.gz the multi-platform version. I don't know exactly i kept trying anything and didn't work.
4-I tried to go to database prospective from eclipse and add new connection MYSQL and include the .jar and stuff and still nothing changed.
5-tried to include the class.forName..... and nothing too.
CAN YOU PLEASE PLEASE, HELP ME UNDERSTAND THIS PROCESS OR GUIDE ME TO A CLEAR EXAMPLE ON SETTING THIS UP, I DO UNDERSTAND THE CODE BUT THE ENVIRONMENT SET UP IS GIVING ME HARD TIME.
Dj Program For Mac
TrackmeifYouCanTrackmeifYouCan
Publisher Program For Mac
1 Answer
You should use the correct uri for a mysql database
![Sample Jdbc Connectivty Program For Mac Using Eclipse Sample Jdbc Connectivty Program For Mac Using Eclipse](https://www.bing.com/th?id=OGC.887a1c971daac6d0760edd916f3f7916&pid=1.7&rurl=http%3a%2f%2fwww.postgresqltutorial.com%2fwp-content%2fuploads%2f2016%2f02%2fPostgreSQL-JDBC-Run-Connecting-to-PostgreSQL-Database-Program.gif&ehk=1djipeC4Wy9TLwUQuxUB1A)
Free Drawing Program For Mac
Mark BakkerMark Bakker
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.