Lines Matching refs:user
16 $user = PDO_MYSQL_TEST_USER;
20 $db = new PDO($dsn, $user, $pass, array($option => $value));
37 $user = PDO_MYSQL_TEST_USER;
72 if (NULL !== ($db = @new PDO($dsn, $user, $pass, 'wrong type')))
77 if (!is_object($db = new PDO($dsn, $user, $pass, array())))
81 if (is_object($db = new PDO($dsn, $user, $pass, array($invalid => true))))
84 $db = new PDO($dsn, $user, $pass);
95 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_AUTOCOMMIT => true));
99 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_AUTOCOMMIT => false));
104 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => 10))))
107 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => PHP_INT_MAX))))
110 if (!is_object($db = new PDO($dsn, $user, $pass, array(PDO::ATTR_TIMEOUT => -PHP_INT_MAX))))
114 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => true));
123 $db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => false));
134 …$db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => true, PDO::MYSQL_ATTR_DIRECT…
140 …$db = new PDO($dsn, $user, $pass, array(PDO::ATTR_EMULATE_PREPARES => false, PDO::MYSQL_ATTR_DIREC…