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