Home
last modified time | relevance | path

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

123456

/php-src/ext/mysqli/tests/
H A Dmysqli_select_db.phpt15 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
22 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
28 if ($row['dbname'] !== (string)$db)
29 printf("[008] Expecting database '%s', found '%s'\n", $db, $row['dbname']);
36 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
42 if (strtolower($row['dbname']) !== 'mysql')
43 printf("[011] Expecting database 'mysql', found '%s'\n", $row['dbname']);
50 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
56 $current_db = $row['dbname'];
73 if (!$res = mysqli_query($link, "SELECT DATABASE() AS dbname"))
[all …]
H A Dmysqli_change_user.phpt14 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
21 …printf("[008] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
45 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
52 if ($tmp['dbname'] != $db)
53 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
80 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
85 if ($tmp['dbname'] != "")
86 printf("[017] Expecting database '', got database() '%s'\n", $tmp['dbname']);
113 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
120 if ($tmp['dbname'] != $db)
[all …]
H A Dmysqli_change_user_old.phpt17 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
34 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
50 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
57 if ($tmp['dbname'] != $db)
58 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
70 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
80 …printf("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
89 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
94 if ($tmp['dbname'] != "")
95 printf("[025] Expecting database '', got database() '%s'\n", $tmp['dbname']);
H A Dmysqli_connect_error.phpt23 …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 Dmysqli_report_new.phpt10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
31 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_get_connection_stats_off.phpt18 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
29 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
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_errno.phpt23 …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 Dmysqli_change_user_oo.phpt45 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
52 if ($tmp['dbname'] != $db)
53 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
H A Dmysqli_options_init_command.phpt15 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
40 …printf("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
65 …printf("[010] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
H A Dmysqli_pconn_limits.phpt39 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
52 … Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socke…
66 … 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=%…
/php-src/.github/actions/test-linux/
H A Daction.yml21 export PDO_MYSQL_TEST_DSN="mysql:host=localhost;dbname=test"
25 export PDO_DBLIB_TEST_DSN="dblib:host=127.0.0.1;dbname=master;version=7.0"
28 … export PGSQL_TEST_CONNSTR="host=localhost dbname=test port=5432 user=postgres password=postgres"
30 …export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test user=postgres password=postg…
33 export PDO_FIREBIRD_TEST_DSN=firebird:dbname=localhost:test.fdb
/php-src/ext/pdo_mysql/tests/
H A Dbug_50323.phpt43 if (1 === @$db->exec('CREATE DATABASE `crazy;dbname`')) {
44 $dsn = changeDSN(PDO_MYSQL_TEST_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.phpt10 if (getenv('PDO_MYSQL_TEST_DSN') !== "mysql:dbname=phptest;unix_socket=/tmp/mysql.sock")
14 pdo.dsn.mysql="mysql:dbname=phptest;socket=/tmp/mysql.sock"
H A Dbug_64705.phpt7 $dsn = 'mysql:host=DonotExistsHost;dbname=test;user=foo;password=wrongpass';
H A Dcommon.phpt22 $config['ENV']['PDOTEST_DSN'] = 'mysql:host=localhost;dbname=test';
/php-src/ext/pdo_dblib/tests/
H A Dcommon.phpt10 'PDOTEST_DSN' => getenv('PDO_DBLIB_TEST_DSN') ?: 'dblib:host=localhost;dbname=test',
/php-src/ext/pgsql/tests/inc/
H A Dconfig.inc8 $conn_str = getenv('PGSQL_TEST_CONNSTR') ?: "host=localhost dbname=test port=5432 user=postgres pas…
/php-src/ext/pdo_pgsql/tests/
H A Dbug_64705.phpt7 $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-src/.github/scripts/windows/
H A Dtest_task.bat32 set PDO_MYSQL_TEST_DSN=mysql:host=%PDO_MYSQL_TEST_HOST%;port=%PDO_MYSQL_TEST_PORT%;dbname=test
39 rem set PGSQL_TEST_CONNSTR=host=127.0.0.1 dbname=test port=5432 user=postgres password=Password12!
40 echo ^<?php $conn_str = "host=127.0.0.1 dbname=test port=5432 user=%PGUSER% password=%PGPASSWORD%";…
41 set PDO_PGSQL_TEST_DSN=pgsql:host=127.0.0.1 port=5432 dbname=test user=%PGUSER% password=%PGPASSWOR…
61 set PDO_FIREBIRD_TEST_DSN=firebird:dbname=%PDO_FIREBIRD_TEST_DATABASE%
/php-src/.github/actions/test-libmysqlclient/
H A Daction.yml13 export PDO_MYSQL_TEST_DSN="mysql:host=127.0.0.1;dbname=test"
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.stub.php63 ?string $dbname = "main", argument

Completed in 21 milliseconds

123456