Join GitHub today
single-sign-on: mysqli_real_escape_string() expects parameter 1 to be mysqli, boolean given #13758
Steps to reproduce
Show available databases
Get redirect to
Operating system: Debian 8.9
Web server: apache 2.4.10
Database: mariadb 10.0.32
PHP version: PHP 5.6.30
phpMyAdmin version: 4.7.4
Browser: Google Chrome, Mozilla Firefox ESR, Opera 12, links2
Operating system: linux
Backtrace from body of redirect:
You had recently upgraded your phpMyAdmin from an early version and the old version worked well so far?
You may check phpMyAdmin-login from an other virtual domain on the same server. Is that working and in config-file "config.inc.php" the auth type is set to cookie, like follow
phpMyAdmin could not get a supported pma_collation_connection value from the stored browser cookie.
As result i got "Failed to set configured collation connection!"
After clearing all browsers cache and delete the cookie for that domain phpMyAdmin it is working as expected again.
Thus, for more security it makes absolutely sense to check ALLWAYS what you get out from the internet... And if it does not match the servers possibility throw away the suspect cookie.