Lines Matching refs:dbname
24 …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"))
91 if (strtolower($row['dbname']) != strtolower($current_db))