Lines Matching refs:sprintf
10 $host = sprintf("%s:%s", $host, $socket);
12 $host = sprintf("%s:%s", $host, $port);
16 die(sprintf("skip Cannot connect [%d] %s", mysql_errno(), mysql_error()));
19 die(sprintf("skip [%d] %s", mysql_errno($link), mysql_error($link)));
22 die(sprintf("skip [%d] %s", mysql_errno($link), mysql_error($link)));
26 die(sprintf("skip Can't check if old_passwords = ON"));
32 die(sprintf("skip Test will fail because old_passwords = ON. Hint: old passwords are insecure!"));
35 die(sprintf("skip [%d] %s", mysql_errno($link), mysql_error($link)));
42 mysql_query(sprintf('DROP USER pcontest@"%s"', mysql_real_escape_string($host, $link)), $link);
43 …if (!mysql_query(sprintf('CREATE USER pcontest@"%s" IDENTIFIED BY "pcontest"', mysql_real_escape_s…
50 …if (!mysql_query(sprintf('GRANT SELECT ON TABLE %s.test TO pcontest@"%s"', $db, mysql_real_escape_…
52 …mysql_query(sprintf('REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@"%s"', mysql_real_escape_st…
53 mysql_query(sprintf('DROP USER pcontest@"%s"', mysql_real_escape_string($host, $link)), $link);
70 $host = sprintf("%s:%s", $host, $socket);
72 $host = sprintf("%s:%s", $host, $port);
108 …$sql = sprintf('SET PASSWORD FOR pcontest@"%s" = PASSWORD("newpass")', mysql_real_escape_string($h…
114 if (!mysql_query(sprintf('KILL %d', $pthread_id), $link))
151 die(sprintf("[014] Cannot connect using the second DB, [%d] %s\n",
167 …mysql_query(sprintf('REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@"%s"', mysql_real_escape_st…
168 mysql_query(sprintf('DROP USER pcontest@"%s"', mysql_real_escape_string($host, $link)), $link);
188 @mysql_query(sprintf('REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@"%s"', mysql_real_escape_st…
189 @mysql_query(sprintf('DROP USER pcontest@"%s"', mysql_real_escape_string($host, $link)), $link);