Home
last modified time | relevance | path

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

1234567

/PHP-5.5/ext/mysql/tests/
H A Dmysql_select_db.phpt19 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
29 if (!$res = mysql_query("SELECT DATABASE() AS dbname", $link))
35 if ($row['dbname'] !== (string)$db)
36 printf("[007] Expecting database '%s', found '%s'\n", $db, $row['dbname']);
38 var_dump($row['dbname']);
46 if (!$res = mysql_query("SELECT DATABASE() AS dbname", $link))
52 if (strtolower($row['dbname']) !== 'mysql')
53 printf("[010] Expecting database 'mysql', found '%s'\n", $row['dbname']);
H A Dmysql_db_name.phpt39 if ('' === ($dbname = mysql_db_name($res, $i)))
43 if ($unicode && !is_unicode($dbname)) {
46 var_inspect($dbname);
H A Dbug47438.phpt13 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
40 …printf("[c001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s…
H A Dclean_table.inc6 …printf("[clean] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, por…
H A Dmysql_errno.phpt25 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
42 …printf("[005] Can connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s, so…
/PHP-5.5/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,…
46 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
62 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
69 if ($tmp['dbname'] != $db)
70 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
82 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
92 …printf("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
101 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
106 if ($tmp['dbname'] != "")
107 printf("[025] Expecting database '', got database() '%s'\n", $tmp['dbname']);
H A Dmysqli_change_user_old.phpt10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
39 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
56 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
72 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
79 if ($tmp['dbname'] != $db)
80 printf("[016] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
92 …printf("[020] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
102 …printf("[022] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
111 if (!$res = mysqli_query($link, 'SELECT database() AS dbname, user() AS user'))
116 if ($tmp['dbname'] != "")
[all …]
H A Dmysqli_change_user_oo.phpt22 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
48 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
64 if (!$res = $mysqli->query('SELECT database() AS dbname, user() AS user'))
71 if ($tmp['dbname'] != $db)
72 printf("[015] Expecting database %s, got database() %s\n", $db, $tmp['dbname']);
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_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_limits.phpt42 …printf("[004] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
55 …printf("[006] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
69 …printf("[008] Cannot create persistent connection using host=%s, user=%s, passwd=***, dbname=%s, p…
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_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,…
H A Dclean_table.inc5 …printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%…
/PHP-5.5/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 DREADME4 For example: mysql:dbname=test;host=localhost;port=3306
16 for 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"
/PHP-5.5/ext/pdo_firebird/tests/
H A Dconnect.phpt11 $db = new PDO("firebird:dbname=$test_base",$user,$password) or die;
/PHP-5.5/ext/pdo_pgsql/tests/
H A Dconfig.inc9 $config['ENV']['PDOTEST_DSN'] = 'pgsql:host=localhost port=5432 dbname=test user=root password=';
/PHP-5.5/ext/pdo_dblib/tests/
H A Dconfig.inc6 $dsn = 'dblib:host=localhost;dbname=test';
/PHP-5.5/ext/pgsql/tests/
H A Dconfig.inc7 $conn_str = getenv('PGSQL_TEST_CONNSTR') ?: "host=localhost dbname=test port=5432"; // connectio…

Completed in 76 milliseconds

1234567