Home
last modified time | relevance | path

Searched refs:USER (Results 1 – 25 of 27) sorted by relevance

12

/php-src/ext/mysqli/tests/
H A Dgh11438.phpt39 $link->query('DROP USER shatest');
40 $link->query("DROP USER shatest@localhost");
42 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
43 !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
44 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
63 if (!$res = $link->query("SELECT USER()"))
70 if (!is_string($row['USER()']) || !str_starts_with($row['USER()'], 'shatest')) {
71 printf("[004] Expecting 1 got %s/'%s'", gettype($row['USER()']), $row['USER()']);
84 $link->query('DROP USER shatest');
85 $link->query('DROP USER shatest@localhost');
H A Dmysqli_expire_password.phpt29 mysqli_query($link, 'DROP USER expiretest');
30 mysqli_query($link, 'DROP USER expiretest@localhost');
32 if (!mysqli_query($link, 'CREATE USER expiretest IDENTIFIED BY \'expiredpassword\'') ||
33 !mysqli_query($link, 'CREATE USER expiretest@localhost IDENTIFIED BY \'expiredpassword\'')) {
36 die("skip CREATE USER failed");
39 if (!mysqli_query($link, 'ALTER USER expiretest PASSWORD EXPIRE') ||
40 !mysqli_query($link, 'ALTER USER expiretest@localhost PASSWORD EXPIRE')) {
43 die("skip ALTER USER failed");
131 mysqli_query($link, 'DROP USER expiretest');
132 mysqli_query($link, 'DROP USER expiretest@localhost');
H A Dmysqli_pconn_max_links.phpt10 mysqli_query($link, 'DROP USER pcontest');
11 mysqli_query($link, 'DROP USER pcontest@localhost');
17 die("skip CREATE USER failed");
26 mysqli_query($link, 'DROP USER pcontest@localhost');
27 mysqli_query($link, 'DROP USER pcontest');
35 mysqli_query($link, 'DROP USER pcontest@localhost');
36 mysqli_query($link, 'DROP USER pcontest');
52 if (!mysqli_query($link, 'DROP USER pcontest') ||
190 mysqli_query($link, 'DROP USER pcontest');
205 mysqli_query($link, 'DROP USER pcontest@localhost');
[all …]
H A Dmysqli_pam_sha256.phpt50 $link->query('DROP USER shatest');
51 $link->query("DROP USER shatest@localhost");
54 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
55 !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
56 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
107 $link->query('DROP USER shatest');
108 $link->query('DROP USER shatest@localhost');
H A Dmysqli_pam_sha256_public_key_ini.phpt62 $link->query('DROP USER shatest');
63 $link->query("DROP USER shatest@localhost");
66 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
67 !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
68 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
117 $link->query('DROP USER shatest');
118 $link->query('DROP USER shatest@localhost');
H A Dmysqli_auth_pam.phpt75 mysqli_query($link, 'DROP USER pamtest');
76 mysqli_query($link, 'DROP USER pamtest@localhost');
78 if (!mysqli_query($link, "CREATE USER pamtest@'%' IDENTIFIED WITH $have_pam") ||
79 !mysqli_query($link, "CREATE USER pamtest@'localhost' IDENTIFIED WITH $have_pam")) {
82 die("skip CREATE USER failed");
129 mysqli_query($link, 'DROP USER pamtest');
130 mysqli_query($link, 'DROP USER pamtest@localhost');
H A Dmysqli_pam_sha256_public_key_option.phpt59 $link->query('DROP USER shatest');
60 $link->query("DROP USER shatest@localhost");
63 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
64 !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
65 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
123 $link->query('DROP USER shatest');
124 $link->query('DROP USER shatest@localhost');
H A Dmysqli_pam_sha256_public_key_option_invalid.phpt59 $link->query('DROP USER shatest');
60 $link->query("DROP USER shatest@localhost");
63 if (!$link->query('CREATE USER shatest@"%" IDENTIFIED WITH sha256_password') ||
64 !$link->query('CREATE USER shatest@"localhost" IDENTIFIED WITH sha256_password')) {
65 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error));
167 $link->query('DROP USER shatest');
168 $link->query('DROP USER shatest@localhost');
H A Dmysqli_connect_oo_defaults.phpt115 if (!$res = $mysqli->query("SELECT SUBSTRING_INDEX(USER(),'@',1) AS username"))
/php-src/ext/pdo_pgsql/tests/
H A Dbug62479.phpt24 $db->exec("DROP USER IF EXISTS $user");
25 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
37 $db->exec("DROP USER $user");
47 $template = "CREATE USER $user WITH PASSWORD '%s'";
59 $pdo->query("DROP USER $user");
74 $db->exec("DROP USER pdo_test62479");
H A Dbug69362.phpt24 $db->exec("DROP USER IF EXISTS $user");
25 $db->exec("CREATE USER $user WITH PASSWORD '$pass'");
37 $db->exec("DROP USER $user");
47 $template = "CREATE USER $user WITH PASSWORD '%s'";
62 $db->exec("DROP USER pdo_test69362");
/php-src/ext/pcntl/tests/
H A Dpcntl_skipif_user_env_rules.inc3 $envUser = getenv("USER") ?: getenv("USERNAME");
6 die("skip This test is not executed without environment variables USER/USERNAME");
/php-src/.github/actions/setup-windows/
H A Daction.yml9 …mysql.exe --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'P…
18 …pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WI…
/php-src/ext/ftp/tests/
H A D001.phpt25 string(5) " USER"
H A D002.phpt31 string(5) " USER"
H A Dserver.inc106 } else if (!preg_match('/^USER (\w+)\r\n$/', $buf, $m)) {
148 fputs($s, " USER\r\n");
309 } elseif (preg_match('/^USER /', $buf)) {
/php-src/ext/standard/tests/file/windows_acls/
H A Dcommon.inc82 permission for the USER. Just granting permission doesn't
105 permission for the USER. Just granting permission doesn't
122 permission for the USER. Just granting permission doesn't
/php-src/ext/pdo_odbc/tests/
H A Dcommon.phpt71 $USER = 'db2inst1';
75 $CONNECTION = "odbc:DSN=$DBNAME;UID=$USER;PWD=$PASSWD;";
/php-src/sapi/fpm/tests/
H A Dsocket-uds-numeric-ugid-nonroot.phpt21 user = {{USER}}
H A Dtester.inc1252 'USER' => ['getUser'],
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec_load_data.phpt12 $stmt = $db->query('SELECT USER() as _user');
/php-src/ext/standard/tests/file/
H A Duserstreams.phpt263 …printf("USER: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $upb, $upa, ftell($fp), $ur, strlen($uline),…
/php-src/.github/workflows/
H A Dpush.yml288 …mysql -uroot -proot -e "CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'wordpress'; FLUSH PRIVI…
/php-src/sapi/fpm/
H A Dconfig.m4436 [AS_HELP_STRING([[--with-fpm-user[=USER]]],
/php-src/build/
H A Dshtool562 username="$USER"

Completed in 49 milliseconds

12