Difference between revisions of "Database"

From TUTOS

m (Reverted edits by DarzeLoloe (Talk); changed back to last version by Gero)
m (Reverted edits by CbasvArcod (Talk); changed back to last version by C4talOrc4t)
 
(11 intermediate revisions by 4 users not shown)
(No difference)

Latest revision as of 09:38, 1 October 2009

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 !