Back to index

php5  5.3.10
Variables
connect.inc File Reference

Go to the source code of this file.

Variables

 $host = "localhost"
 $port = getenv("MYSQL_TEST_PORT") ? getenv("MYSQL_TEST_PORT") : 3306
 $user = "root"
 $passwd = ""
 $db = "test"
 $engine = "MyISAM"
 $socket = getenv("MYSQL_TEST_SOCKET") ? getenv("MYSQL_TEST_SOCKET") : null
 $skip_on_connect_failure = getenv("MYSQL_TEST_SKIP_CONNECT_FAILURE") ? getenv("MYSQL_TEST_SKIP_CONNECT_FAILURE") : true
 $connect_flags = getenv("MYSQL_TEST_CONNECT_FLAGS") ? (int)getenv("MYSQL_TEST_CONNECT_FLAGS") : 0
if($socket) $TEST_EXPERIMENTAL
 $IS_MYSQLND = stristr(mysql_get_client_info(), "mysqlnd")

Variable Documentation

$connect_flags = getenv("MYSQL_TEST_CONNECT_FLAGS") ? (int)getenv("MYSQL_TEST_CONNECT_FLAGS") : 0

Definition at line 72 of file connect.inc.

$db = "test"

Definition at line 68 of file connect.inc.

$engine = "MyISAM"

Definition at line 69 of file connect.inc.

$host = "localhost"

Definition at line 63 of file connect.inc.

$IS_MYSQLND = stristr(mysql_get_client_info(), "mysqlnd")

Definition at line 81 of file connect.inc.

$passwd = ""

Definition at line 66 of file connect.inc.

$port = getenv("MYSQL_TEST_PORT") ? getenv("MYSQL_TEST_PORT") : 3306

Definition at line 64 of file connect.inc.

$skip_on_connect_failure = getenv("MYSQL_TEST_SKIP_CONNECT_FAILURE") ? getenv("MYSQL_TEST_SKIP_CONNECT_FAILURE") : true

Definition at line 71 of file connect.inc.

$socket = getenv("MYSQL_TEST_SOCKET") ? getenv("MYSQL_TEST_SOCKET") : null

Definition at line 70 of file connect.inc.

if ($socket) $TEST_EXPERIMENTAL
Initial value:
 (in_array(getenv("MYSQL_TEST_EXPERIMENTAL"), array(0, 1))) ?
       ((1 == getenv("MYSQL_TEST_EXPERIMENTAL")) ? true : false) :
       false

Definition at line 77 of file connect.inc.

$user = "root"

Definition at line 65 of file connect.inc.