Appboard/2.4/admin/db drivers: Difference between revisions

imported>Jason.nicholls
No edit summary
imported>Jason.nicholls
No edit summary
Line 34: Line 34:
|http://jtds.sourceforge.net/
|http://jtds.sourceforge.net/
|<tt>jtds-''version''.jar</tt>
|<tt>jtds-''version''.jar</tt>
|-
|DB2
|http://www-01.ibm.com/software/data/db2/linux-unix-windows/downloads.html
|<tt>db2jcc4.jar</tt>
|}
|}

Revision as of 08:54, 31 January 2014


Due to licensing restrictions many common JDBC database drivers do not ship with the core AppBoard product. As a result these need to be added in order for the relevant database Data Sources to work.

Template-tip.png
For convenience and best practice it's recommended to add the drivers required in your environment to the custom export properties file. This way archives will include the drivers and they will not have to be installed separately.

To install a new database driver:

  1. download the driver file or package, usually there is a .jar which is the relevant file.
  2. copy the driver to: [INSTALL_HOME]/webapps/enportal/WEB-INF/lib/
  3. restart AppBoard.

See below for a table of common drivers and where to obtain them.

Database Link to JDBC driver Filename
MySQL http://dev.mysql.com/downloads/connector/j/ mysql-connector-java-version-bin.jar
PostgreSQL http://jdbc.postgresql.org/ postgresql-version.jdbc4.jar
Oracle http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html oracle-thinJDBC-version.jar
SQL Server http://jtds.sourceforge.net/ jtds-version.jar
DB2 http://www-01.ibm.com/software/data/db2/linux-unix-windows/downloads.html db2jcc4.jar