Difference between revisions of "Database"

From TUTOS

m
Line 6: Line 6:
 
* Interbase
 
* Interbase
 
* MSSQL (early tests)
 
* 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.
 
It is possible to use different databases at the same time.

Revision as of 10:08, 18 November 2008

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 !