Difference between revisions of "Database"

From TUTOS

Line 6: Line 6:
 
* Interbase
 
* Interbase
 
* MSSQL (early tests)
 
* MSSQL (early tests)
 +
 +
 +
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[ [[config.php#dbname|dbname]] ][0]  = "tutos";
 +
$tutos[ [[config.php#dbhost|dbhost]] ][0]  = "localhost";
 +
$tutos[ [[config.php#dbport|dbport]] ][0]  = 5432;
 +
$tutos[ [[config.php#dbuser|dbuser]] ][0]  = "wwwrun";
 +
$tutos[ [[config.php#dbpasswd|dbpasswd ]] ][0] = "";
 +
$tutos[ [[config.php#dbprefix|dbprefix]] ][0]  = "";
 +
$tutos[ [[config.php#dbhome|dbhome]] ][0]  = "/opt/oracle/";
 +
$tutos[ [[config.php#dbtype|dbtype]] ][0]  = 1;
 +
$tutos[ [[config.php#dbalias|dbalias]] ][0]  = "Postgres database";
 +
 +
You will find comments on each variable in config_dafault.pinc file which will come with your TUTOS installation !

Revision as of 13:24, 14 December 2004

TUTOS will run with

  • Postgres
  • MySQL
  • Oracle
  • Interbase
  • MSSQL (early tests)


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 !