Lines Matching refs:localhost
11 mysqli_query($link, 'DROP USER pcontest@localhost');
14 !mysqli_query($link, 'CREATE USER pcontest@localhost IDENTIFIED BY "pcontest"')) {
22 … !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pcontest@'localhost'", $db))) {
25 mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@localhost');
26 mysqli_query($link, 'DROP USER pcontest@localhost');
34 mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@localhost');
35 mysqli_query($link, 'DROP USER pcontest@localhost');
53 !mysqli_query($link, 'DROP USER pcontest@localhost') ||
55 !mysqli_query($link, 'CREATE USER pcontest@localhost IDENTIFIED BY "pcontest"') ||
57 … !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO pcontest@'localhost'", $db))) {
105 if ((!mysqli_query($link, 'SET PASSWORD FOR pcontest@localhost = "newpass"') &&
106 !mysqli_query($link, 'SET PASSWORD FOR pcontest@localhost = PASSWORD("newpass")')) ||
206 mysqli_query($link, 'REVOKE ALL PRIVILEGES, GRANT OPTION FROM pcontest@localhost');
207 mysqli_query($link, 'DROP USER pcontest@localhost');