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?
The username may be root. Unless you selected a password when setting up MySQL, the password may be blank. The username might be blank, too, or just "root".