<?php
/*
* driver_test_configuration.php
*
* @(#) $Header: /opt2/ena/metal/metabase/driver_test_config.php,v 1.12 2015/04/02 05:20:53 mlemos Exp $
*
*/
$driver_arguments["Type"]="mysql";
$driver_arguments["CaptureDebug"]=1;
$driver_arguments["Persistent"]=0;
$driver_arguments["LogLineBreak"]="\n";
$driver_arguments["AllowNestedTransactions"]=1;
$driver_arguments["Options"]=array(
);
switch($driver_arguments["Type"])
{
case "ibase":
$driver_arguments["Host"]="";
$driver_arguments["Options"]=array(
"DBAUser"=>"sysdba",
"DBAPassword"=>"masterkey",
"DatabasePath"=>"/opt/interbase/",
"DatabaseExtension"=>".gdb"
);
$database_variables["create"]="0";
break;
case "ifx":
$driver_arguments["Host"]="demo_on";
$driver_arguments["User"]="webuser";
$driver_arguments["Password"]="webuser_password";
$driver_arguments["Options"]=array(
"DBAUser"=>"informix",
"DBAPassword"=>"informix_pasword",
"Use8ByteIntegers"=>1,
"Logging"=>"Unbuffered"
);
break;
case "msql":
break;
case "mssql":
$driver_arguments["User"]="sa";
$driver_arguments["Password"]="";
$driver_arguments["Options"]=array(
"DatabaseDevice"=>"DEFAULT",
"DatabaseSize"=>"10"
);
break;
case "mysql":
$driver_arguments["User"]="root";
$driver_arguments["Options"]["UseTransactions"]=1;
$driver_arguments["Options"]["DefaultTableType"]="INNODB";
$driver_arguments["Options"]["Port"]="/var/lib/mysql/mysql.sock";
break;
case "mysqli":
$driver_arguments["User"]="root";
$driver_arguments["Options"]["UseTransactions"]=1;
$driver_arguments["Options"]["DefaultTableType"]="INNODB";
$driver_arguments["Options"]["Socket"]="/var/lib/mysql/mysql.sock";
break;
case "oci":
$driver_arguments["User"]="drivertest";
$driver_arguments["Password"]="drivertest";
$driver_arguments["Options"]=array(
"SID"=>"dboracle",
"HOME"=>"/home/oracle/u01",
"DBAUser"=>"SYS",
"DBAPassword"=>"change_on_install"
);
break;
case "odbc":
$driver_arguments["User"]="webuser";
$driver_arguments["Password"]="webuser_password";
$driver_arguments["Options"]=array(
"DBADSN"=>"dbadsn",
"DBAUser"=>"dbauser",
"DBAPassword"=>"dbapassword",
"UseDefaultValues"=>0,
"UseDecimalScale"=>0,
"UseTransactions"=>0
);
$database_variables["create"]="0";
$database_variables["name"]="userdsn";
break;
case "odbc-msaccess":
$driver_arguments["User"]="webuser";
$driver_arguments["Password"]="webuser_password";
$driver_arguments["Options"]=array(
"DBADSN"=>"dbadsn",
"DBAUser"=>"dbauser",
"DBAPassword"=>"dbapassword"
);
$database_variables["create"]="0";
$database_variables["name"]="userdsn";
break;
case "pgsql":
$driver_arguments["User"]="root";
break;
}
?>
|