Lines Matching refs:user
21 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
22 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
23 $host, $user, $db, $port, $socket);
25 …if (false !== ($tmp = $mysqli->change_user($user . '_unknown_really', $passwd . 'non_empty', $db)))
28 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db)))
31 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really')))
35 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket))
36 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
37 $host, $user, $db, $port, $socket);
49 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db)))
52 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
57 if (substr($tmp['user'], 0, strlen($user)) !== $user)
58 printf("[014] Expecting user %s, got user() %s\n", $user, $tmp['user']);
71 if (false !== ($tmp = @$mysqli->change_user($user, $passwd, $db)))