DB connections

Parent Previous Next

This page is used to manage (add, edit or delete) connections to databases where data which you want to show are stored. It provides a convenient way to define connections in one place and then use them in any number of data sources (one connection can be used by any number of data sources).


On this page administrator can

  1. Create a new connection using "New" button.
  2. Edit an existing connection by clicking it's name or by selecting checkbox at left of appropriate connection and clicking "Edit" button.
  3. Remove connections by selecting checkbox at left of appropriate connections and clicking "Delete" button.
  4. Choose a connection which will be used by default. For this click by icon in "Default" column from connections grid.


Create/edit connection

The following parameters can be defined for connection:


F.A.Q. and troubleshooting

  1. How to connect to a database via ODBC?

Check that ODBC PHP extension is installed on your web server and ODBC drivers is installed on your database server (you can ask your DB administrator and/or hosting support to check it). Check also that ODBC Data Source Name is registered on your web server (sample instructions are available here).

  1. How to connect to MS SQL database?

If you use PHP 5.3+ then connect to MS SQL via ODBC. For this set "Connection type → External database → DB type" parameter to ODBC value and use the following connection string for Driver={SQL Server Native Client 10.0};Server=DBHOST;Database=DBNAME; for "Connection type → External database → Host" parameter. Where DBHOST is address of server where database is installed and DBNAME is database name. For example if database is located on 192.168.0.33 host and has name ReportsDB, use the following connection string:

Driver={SQL Server Native Client 10.0};Server=192.168.0.33;Database=ReportsDB;