How+do+I+connect+to+a+database?

= How do I connect to a database? = With a bit of effort you can easily access databases via [|JDBC]. You need the following:
 * JDBC driver for the database you want to access in your CLASSPATH.
 * A customized DatabaseUtils.props file. The following example files are located in the directory of the  archive:
 * HSQLDB - (>= 3.4.1/3.5.0)
 * MS SQL Server 2000 - (>= 3.4.9/3.5.4)
 * MS SQL Server 2005 Express Edition - (> 3.4.10/3.5.5)
 * MySQL - (>= 3.4.9/3.5.4)
 * ODBC - (>= 3.4.9/3.5.4)
 * Oracle - (>= 3.4.9/3.5.4)
 * PostgreSQL - (>= 3.4.9/3.5.4)
 * Sqlite 3.x - (> 3.4.12, > 3.5.7)

For more details see the following articles:
 * Databases
 * DatabaseUtils.props
 * Windows databases (covers access via ODBC)

The following FAQs could be of interest as well:
 * Couldn't read from database: unknown data type
 * Trying to add JDBC driver: ... - Error, not in CLASSPATH?