Lines Matching refs:user
19 $user = getenv('PDO_ODBC_TEST_USER');
22 $dsn = str_replace(";uid={$user};pwd={$password}", '', $dsnWithCredentials);
24 echo "dsn without credentials / correct user / correct password\n";
26 $db = new PDO($dsn, $user, $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
33 echo "dsn with credentials / no user / no password\n";
35 …$db = new PDO("{$dsn};uid={$user};pwd={$password}", null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE…
42 echo "dsn with correct user / incorrect user / correct password\n";
44 …$db = new PDO("{$dsn};UID={$user}", 'hoge', $password, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTIO…
51 echo "dsn with correct password / correct user / incorrect password\n";
53 …$db = new PDO("{$dsn};PWD={$password}", $user, 'fuga', [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTIO…
60 echo "dsn with correct credentials / incorrect user / incorrect password\n";
62 …$db = new PDO("{$dsn};Uid={$user};Pwd={$password}", 'hoge', 'fuga', [PDO::ATTR_ERRMODE => PDO::ERR…
70 dsn without credentials / correct user / correct password
73 dsn with credentials / no user / no password
76 dsn with correct user / incorrect user / correct password
79 dsn with correct password / correct user / incorrect password
82 dsn with correct credentials / incorrect user / incorrect password