Lines Matching refs:user
19 $user = 'pdo_test62479';
22 // Assume that if we can't create or drop a user, this test needs to be skipped
24 $db->exec("DROP USER IF EXISTS $user");
25 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
32 $testConn = new PDO($dsn, $user, $pass);
37 $db->exec("DROP USER $user");
46 $user = "pdo_test62479";
47 $template = "CREATE USER $user WITH PASSWORD '%s'";
50 // Create temp user with space in password
53 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "my password");
58 // Remove the user
59 $pdo->query("DROP USER $user");
61 // Create a user with a space and single quote
65 $testConn = new PDO($config['ENV']['PDOTEST_DSN'], $user, "my pass'word");