Database

From TUTOS

TUTOS will run with

  • Postgres
  • MySQL
  • Oracle
  • Interbase
  • MSSQL (early tests)
  • SQLITE (after the 1.4 version)
  • MSSQL (using native PHP support) (will come soon)

It is possible to use different databases at the same time. Each database is has to be defined in your config.php file.

The following example config lines reflect the neccessary fileds:

$tutos[ dbname ][0]   = "tutos";
$tutos[ dbhost ][0]   = "localhost";
$tutos[ dbport ][0]   = 5432;
$tutos[ dbuser ][0]   = "wwwrun";
$tutos[ dbpasswd  ][0] = "";
$tutos[ dbprefix ][0]  = "";
$tutos[ dbhome ][0]   = "/opt/oracle/";
$tutos[ dbtype ][0]   = 1;
$tutos[ dbalias ][0]  = "Postgres database";

You will find comments on each variable in config_dafault.pinc file which will come with your TUTOS installation !