Lines Matching refs:user
13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
14 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
15 $host, $user, $db, $port, $socket);
17 …if (false !== ($tmp = @mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty',…
20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
21 …printf("[008] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
22 $host, $user, $db, $port, $socket);
24 if (false !== ($tmp = @mysqli_change_user($link, $user, $passwd . '_unknown_really', $db)))
28 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
29 …printf("[009a] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s…
30 $host, $user, $db, $port, $socket);
42 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db)))
45 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
50 if (substr($tmp['user'], 0, strlen($user)) !== $user)
51 printf("[015] Expecting user %s, got user() %s\n", $user, $tmp['user']);
55 if (false !== ($tmp = @mysqli_change_user($link, $user, $passwd, $db . '_unknown_really')))
60 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
61 …printf("[012] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
62 $host, $user, $db, $port, $socket);
65 …if (false !== ($tmp = @mysqli_change_user($link, str_repeat('user', 16384), str_repeat('pass', 163…
70 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
71 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
72 $host, $user, $db, $port, $socket);
77 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, "")))
80 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
91 mysqli_change_user($link, $user, $passwd, $db);
96 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
97 …printf("[019] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
98 $host, $user, $db, $port, $socket);
110 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db)))
113 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
118 if (substr($tmp['user'], 0, strlen($user)) !== $user)
119 printf("[025] Expecting user %s, got user() %s\n", $user, $tmp['user']);