Errors are reported by Adminer
This commit is contained in:
parent
7f12b14802
commit
1f1d6c3430
|
@ -18,6 +18,7 @@ if (!defined("DRIVER")) {
|
|||
}
|
||||
|
||||
function connect($server, $username, $password) {
|
||||
mysqli_report(MYSQLI_REPORT_OFF); // stays between requests
|
||||
list($host, $port) = explode(":", $server, 2); // part after : is used for port or socket
|
||||
return @$this->real_connect(
|
||||
($server != "" ? $host : ini_get("mysqli.default_host")),
|
||||
|
|
Loading…
Reference in a new issue