blob: 67f2546b24ac56e6635f9ad4113280cea9172eee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<?php
// set the $connection to match your test-database setup
// (possibly change the rest of the settings too)
// e.g. $connection = DBX_MYSQL;
$connection = NULL;
switch ($connection) {
case DBX_MYSQL:
$module=DBX_MYSQL;
$host="";
$database="dbx_test";
$username="dbx_testuser";
$password="dbx_testpassword";
$module_name="mysql";
break;
case DBX_MSSQL:
$module=DBX_MSSQL;
$host="HOLLY";
$database="dbx_test";
$username="";
$password="";
$module_name="mssql";
break;
case DBX_ODBC:
$module=DBX_ODBC;
$host="localhost";
$database="dbx_test_mysql"; // "dbx_test_access";
$username="dbx_testuser";
$password="dbx_testpassword";
$module_name="odbc";
break;
case DBX_PGSQL:
$module=DBX_PGSQL;
$host="";
$database="dbx_test";
$username="dbx_testuser";
$password="dbx_testpassword";
$module_name="pgsql";
break;
case DBX_FBSQL:
$module=DBX_FBSQL;
$host="";
$database="dbx_test";
$username="dbx_testuser";
$password="dbx_testpassword";
$module_name="fbsql";
break;
case DBX_OCI8:
$module=DBX_OCI8;
$host="";
$database="dbx_test";
$username="dbx_testuser";
$password="dbx_testpassword";
$module_name="oci8";
break;
case DBX_SYBASECT:
$module=DBX_SYBASECT;
$host="threesyb";
$database="dbx_test";
$username="dbx_testuser";
$password="dbx_testpassword";
$module_name="sybase_ct";
break;
}
?>
|