/PHP-8.0/ext/mysqli/tests/ |
H A D | mysqli_select_db.phpt | 14 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 21 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname")) 27 if ($row['dbname'] !== (string)$db) 28 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']); 35 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname")) 41 if (strtolower($row['dbname']) !== 'mysql') 42 printf("[011] Expecting database 'mysql', found '%s'\n", $row['dbname']); 49 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname")) 55 $current_db = $row['dbname']; 72 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname")) [all …]
|
H A D | mysqli_change_user.phpt | 13 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 20 …printf("[008] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 44 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user')) 51 if ($tmp['dbname'] != $db) 52 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']); 79 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user')) 84 if ($tmp['dbname'] != "") 85 printf("[017] Expecting database '', got database() '%s'\n", $tmp['dbname']); 112 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user')) 119 if ($tmp['dbname'] != $db) [all …]
|
H A D | mysqli_change_user_old.phpt | 9 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 23 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 40 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 56 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user')) 63 if ($tmp['dbname'] != $db) 64 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']); 76 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 86 …printf("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 95 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user')) 100 if ($tmp['dbname'] != "") [all …]
|
H A D | mysqli_change_user_oo.phpt | 24 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 38 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 54 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user')) 61 if ($tmp['dbname'] != $db) 62 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
|
H A D | mysqli_connect_error.phpt | 23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 32 …t to the server should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socke…
|
H A D | mysqli_change_user_new.phpt | 9 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 26 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_connect_errno.phpt | 23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 33 …t to the server should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socke…
|
H A D | mysqli_report_new.phpt | 9 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 35 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_get_connection_stats_off.phpt | 20 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 31 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_options_init_command.phpt | 14 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 39 …printf("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 64 …printf("[010] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_pconn_twice.phpt | 19 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 37 …printf("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 59 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_pconn_conn_multiple.phpt | 19 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 44 …printf("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 72 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 81 …printf("[016] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 106 …printf("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 134 …printf("[029] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | clean_table.inc | 5 …printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%…
|
H A D | mysqli_pconn_limits.phpt | 41 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 54 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke… 68 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
|
/PHP-8.0/.github/actions/test-linux/ |
H A D | action.yml | 15 export PDO_MYSQL_TEST_DSN="mysql:host=localhost;dbname=test" 19 export PDO_DBLIB_TEST_DSN="dblib:host=127.0.0.1;dbname=master;version=7.0" 27 export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8"
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | bug_50323.phpt | 43 if (1 === @$db->exec('CREATE DATABASE `crazy;dbname`')) { 44 $dsn = changeDSN(getenv('PDOTEST_DSN'), array('dbname' => 'crazy;;dbname')); 57 @$db->exec('DROP DATABASE IF EXISTS `crazy;dbname`');
|
H A D | README.md | 6 # DSN; For example: mysql:dbname=test;host=localhost;port=3306 33 `PDO_MYSQL_TEST_DSN = mysql:dbname=test` you MUST set `PDO_MYSQL_TEST_DB=test`.
|
H A D | pdo_mysql___construct_ini.phpt | 9 if (getenv('PDO_MYSQL_TEST_DSN') !== "mysql:dbname=phptest;unix_socket=/tmp/mysql.sock") 13 pdo.dsn.mysql="mysql:dbname=phptest;socket=/tmp/mysql.sock"
|
H A D | bug_64705.phpt | 9 $dsn = 'mysql:host=DonotExistsHost;dbname=test;user=foo;password=wrongpass';
|
/PHP-8.0/ |
H A D | .appveyor.yml | 26 … #PDO_MYSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=root password=Password12!" 29 … #PGSQL_TEST_CONNSTR: "host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!" 30 …#PDO_PGSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=Password12…
|
/PHP-8.0/ext/pdo_dblib/tests/ |
H A D | common.phpt | 12 'PDOTEST_DSN' => getenv('PDO_DBLIB_TEST_DSN') ?: 'dblib:host=localhost;dbname=test',
|
/PHP-8.0/.github/scripts/windows/ |
H A D | test_task.bat | 30 set PDO_MYSQL_TEST_DSN=mysql:host=%PDO_MYSQL_TEST_HOST%;port=%PDO_MYSQL_TEST_PORT%;dbname=test 37 rem set PGSQL_TEST_CONNSTR=host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12! 38 echo ^<?php $conn_str = "host=127.0.0.1 dbname=test port=5432 user=%PGUSER% password=%PGPASSWORD%";… 39 set PDO_PGSQL_TEST_DSN=pgsql:host=127.0.0.1 port=5432 dbname=test user=%PGUSER% password=%PGPASSWOR…
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug_64705.phpt | 9 $dsn = 'pgsql:host=DonotExistsHost;dbname=test;user=foo;password=wrongpass';
|
H A D | config.inc | 9 …$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=postgres password…
|
/PHP-8.0/ext/pdo_oci/tests/ |
H A D | common.phpt | 21 $config['ENV']['PDOTEST_DSN'] = 'oci:dbname=localhost/xe;charset=WE8MSWIN1252';
|