Lines Matching refs:user
17 $user = 'pdo_test_'.rand(5, 400);
20 // Assume that if we can't create or drop a user, this test needs to be skipped
22 $db->exec("DROP USER IF EXISTS $user");
23 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
30 $testConn = new PDO($dsn, $user, $pass);
35 $db->exec("DROP USER $user");
44 $user = "pdo_test_$rand";
45 $template = "CREATE USER $user WITH PASSWORD '%s'";
46 $dropUser = "DROP USER $user";
49 // Create temp user with space in password
52 $testConn = new PDO($conf['ENV']['PDOTEST_DSN'], $user, "my password");
57 // Remove the user
60 // Create a user with a space and single quote
64 $testConn = new PDO($conf['ENV']['PDOTEST_DSN'], $user, "my pass'word");
69 // Remove the user