Java Reference
In-Depth Information
4.1.4.1 DbConfig.java
In this sample code, the default values to connect to the MySQL database are (see
DbConnection.java):
Hostname
Saintmonica
Port number
3306
Account
empl_1
Password
Password
Database name
Employees
JDBC driver name
com.mysql.jdbc.Driver
Subprotocol
Mysql
Table 1. Database Configuration Parameters
Search WWH ::




Custom Search