This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Abdul, you need to use JDBC to do this. If you are unsure of how to setup and use a JDBC driver, run a search in the JDBC forum of this website. You will find what you need. There should also be materials on the web you canrefer to. -Sri