Lines Matching refs:user
49 $user = 'dontcreatesuchauser';
51 print tryandcatch(9, '$db = new PDO("' . $dsn . '", "' . $user . '", "' . $pass . '");');
56 tryandcatch(10, '$db = new PDO("' . $dsn . '", "' . $user . '", "' . $pass . '");');
59 $user = PDO_MYSQL_TEST_USER;
62 $db = new PDO($dsn, $user, $pass);
66 tryandcatch(11, '$db = new PDO("' . $dsn . '", "' . $user . '", "' . $pass . '");');
69 tryandcatch(12, '$db = new PDO("' . $dsn . '", "' . $user . '", "' . $pass . '");');
72 tryandcatch(13, '$db = new PDO("' . $dsn . '", "' . $user . '", "' . $pass . '");');
80 …try { $db = @new PDO($dsn, $user, $pass); assert(false); printf("%s\n", $dsn); } catch (PDOExcepti…
87 try { $db = @new PDO($dsn, $user, $pass); } catch (PDOException $e) {
94 …try { $db = @new PDO($dsn, $user, $pass); assert(false); printf("%s\n", $dsn); } catch (PDOExcepti…
102 try { $db = @new PDO($dsn, $user, $pass); } catch (PDOException $e) {
111 …try { $db = @new PDO($dsn, $user, $pass); assert(false); printf("%s\n", $dsn); } catch (PDOExcepti…
125 …try { $db = @new PDO($dsn, $user, $pass); assert(false); printf("%s\n", $dsn); } catch (PDOExcepti…
132 try { $db = @new PDO($dsn, $user, $pass); } catch (PDOException $e) {
139 $db = @new PDO($dsn, $user, $pass);
151 …try { $db = @new PDO($dsn, $user, $pass); assert(false); printf("%s\n", $dsn); } catch (PDOExcepti…
153 …// 1044 may occur here if running tests using a custom user that does not have access to all datab…
159 try { $db = @new PDO($dsn, $user, $pass); } catch (PDOException $e) {
170 …try { $db = @new PDO($dsn, $user, $pass); assert(false); printf("%s\n", $dsn); } catch (PDOExcepti…
177 try { $db = @new PDO($dsn, $user, $pass); } catch (PDOException $e) {
186 $db = new PDO($dsn, $user, $pass);
207 $db = new PDO($dsn, $user, $pass);
215 $db = @new PDO($dsn, $user, $pass);
226 $db = @new PDO($dsn, $user, $pass);
248 $db = new PDO($dsn, $user, $pass);
260 $db = new PDO($dsn, $user, $pass);
273 $db = new PDO($dsn, $user, $pass);
303 [009] SQLSTATE[%s] [1045] Access denied for user 'dont%s'@'%s' (using password: YES), [n/a] n/a