Java connection to local MySQL
Posted by: William Thompson
Date: February 01, 2015 05:53AM

I have installed and created local MySQL test databases and tables on my Windows 7 PC. In order to connect to the database in Java, I need the parameters of the DriverManager getConnection API which includes the username and password and the URL to the database.

How do I determine the URL to the database?

Options: ReplyQuote


Subject
Written By
Posted
Java connection to local MySQL
February 01, 2015 05:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.