/php-src/ext/mysqli/tests/ |
H A D | gh11438.phpt | 39 $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 D | mysqli_expire_password.phpt | 29 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 D | mysqli_pconn_max_links.phpt | 10 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') || 192 mysqli_query($link, 'DROP USER pcontest'); 207 mysqli_query($link, 'DROP USER pcontest@localhost'); [all …]
|
H A D | mysqli_pam_sha256.phpt | 50 $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 D | mysqli_pam_sha256_public_key_ini.phpt | 62 $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 D | mysqli_auth_pam.phpt | 75 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 D | mysqli_pam_sha256_public_key_option.phpt | 59 $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 D | mysqli_pam_sha256_public_key_option_invalid.phpt | 59 $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)); 168 $link->query('DROP USER shatest'); 169 $link->query('DROP USER shatest@localhost');
|
H A D | mysqli_connect_oo_defaults.phpt | 112 if (!$res = $mysqli->query("SELECT SUBSTRING_INDEX(USER(),'@',1) AS username"))
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug62479.phpt | 23 $db->exec("DROP USER IF EXISTS $user"); 24 $db->exec("CREATE USER $user WITH PASSWORD '$pass'"); 36 $db->exec("DROP USER $user"); 46 $template = "CREATE USER $user WITH PASSWORD '%s'"; 58 $pdo->query("DROP USER $user"); 73 $db->exec("DROP USER pdo_test62479");
|
H A D | bug69362.phpt | 23 $db->exec("DROP USER IF EXISTS $user"); 24 $db->exec("CREATE USER $user WITH PASSWORD '$pass'"); 36 $db->exec("DROP USER $user"); 46 $template = "CREATE USER $user WITH PASSWORD '%s'"; 61 $db->exec("DROP USER pdo_test69362");
|
/php-src/ext/pcntl/tests/ |
H A D | pcntl_skipif_user_env_rules.inc | 3 $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 D | action.yml | 9 …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 D | 001.phpt | 25 string(5) " USER"
|
H A D | 002.phpt | 31 string(5) " USER"
|
H A D | server.inc | 106 } 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 D | common.inc | 82 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 D | common.phpt | 71 $USER = 'db2inst1'; 75 $CONNECTION = "odbc:DSN=$DBNAME;UID=$USER;PWD=$PASSWD;";
|
/php-src/sapi/fpm/tests/ |
H A D | socket-uds-numeric-ugid-nonroot.phpt | 21 user = {{USER}}
|
H A D | tester.inc | 1241 'USER' => ['getUser'],
|
/php-src/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec_load_data.phpt | 12 $stmt = $db->query('SELECT USER() as _user');
|
/php-src/ext/standard/tests/file/ |
H A D | userstreams.phpt | 263 …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 D | push.yml | 323 …mysql -uroot -proot -e "CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'wordpress'; FLUSH PRIVI…
|
/php-src/sapi/fpm/ |
H A D | config.m4 | 361 [AS_HELP_STRING([[--with-fpm-user[=USER]]],
|
/php-src/build/ |
H A D | shtool | 562 username="$USER"
|