Home
last modified time | relevance | path

Searched refs:dbname (Results 1 – 25 of 145) sorted by relevance

123456

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_select_db.phpt24 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
34 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
40 if ($row['dbname'] !== (string)$db)
41 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']);
48 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
54 if (strtolower($row['dbname']) !== 'mysql')
55 printf("[011] Expecting database 'mysql', found '%s'\n", $row['dbname']);
62 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
68 $current_db = $row['dbname'];
85 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
[all …]
H A Dmysqli_change_user.phpt32 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
39 …printf("[008] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
63 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
70 if ($tmp['dbname'] != $db)
71 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
98 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
103 if ($tmp['dbname'] != "")
104 printf("[017] Expecting database '', got database() '%s'\n", $tmp['dbname']);
128 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
135 if ($tmp['dbname'] != $db)
[all …]
H A Dmysqli_change_user_old.phpt10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
24 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
41 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
57 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
64 if ($tmp['dbname'] != $db)
65 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
77 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
87 …printf("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
96 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
101 if ($tmp['dbname'] != "")
[all …]
H A Dmysqli_change_user_oo.phpt25 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
39 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
55 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
62 if ($tmp['dbname'] != $db)
63 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
H A Dmysqli_change_user_new.phpt10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
24 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_connect_error.phpt21 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
30 …t to the server should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socke…
H A Dmysqli_report_new.phpt10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
36 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_connect_errno.phpt21 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
31 …t to the server should fail using host=%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socke…
H A Dmysqli_get_connection_stats_off.phpt21 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
32 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_options_init_command.phpt16 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
41 …printf("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
66 …printf("[010] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_pconn_twice.phpt20 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
38 …printf("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
60 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_pconn_conn_multiple.phpt20 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
45 …printf("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
73 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
82 …printf("[016] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
107 …printf("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
135 …printf("[029] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_pconn_limits.phpt42 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
55 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
69 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
H A Dclean_table.inc5 …printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%…
H A Dmysqli_connect_twice.phpt14 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
39 …printf("[007] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
67 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug_50323.phpt43 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 DREADME.md6 # 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 Dpdo_mysql___construct_ini.phpt9 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 Dbug_64705.phpt9 $dsn = 'mysql:host=DonotExistsHost;dbname=test;user=foo;password=wrongpass';
/PHP-7.4/
H A D.appveyor.yml31 … #PDO_MYSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=root password=Password12!"
34 … #PGSQL_TEST_CONNSTR: "host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!"
35 …#PDO_PGSQL_TEST_DSN: "pgsql:host=127.0.0.1 port=5432 dbname=test user=postgres password=Password12…
/PHP-7.4/ext/pdo_dblib/tests/
H A Dcommon.phpt12 'PDOTEST_DSN' => getenv('PDO_DBLIB_TEST_DSN') ?: 'dblib:host=localhost;dbname=test',
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug_64705.phpt9 $dsn = 'pgsql:host=DonotExistsHost;dbname=test;user=foo;password=wrongpass';
H A Dconfig.inc9 …$config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=postgres password…
/PHP-7.4/appveyor/
H A Dtest_task.bat30 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-7.4/ext/pdo_oci/tests/
H A Dcommon.phpt21 $config['ENV']['PDOTEST_DSN'] = 'oci:dbname=localhost/xe;charset=WE8MSWIN1252';

Completed in 23 milliseconds

123456