Just installed Xampp 7.2.4 and I get the following error trying to open the ADMIN for MySQL in xampp Control Panel v3.2.2. I had that setup on another workstation, same OS (Windows Server 2012 R2) same version of xampp but the error I get make no sens to me...any though? Already compare both install and they look similar.
Fatal error: Uncaught Error: Call to a member function exists() on null in C:\xampp\phpMyAdmin\libraries\classes\DatabaseInterface.php:1544 Stack trace:
#0 C:\xampp\phpMyAdmin\libraries\classes\DatabaseInterface.php(2477): PhpMyAdmin\DatabaseInterface->postConnectControl()
#1 C:\xampp\phpMyAdmin\libraries\common.inc.php(358): PhpMyAdmin\DatabaseInterface->connect(257)
#2 C:\xampp\phpMyAdmin\index.php(26): require_once('C:\\xampp\\phpMyA...')
#3 {main} thrown in C:\xampp\phpMyAdmin\libraries\classes\DatabaseInterface.php on line 1544
I just had the same error after a brute force MySQL shutdown.
After tracking down the error in the code, it turned out that it was the browser cookie which was corrupted, preventing PHPMyAdmin to fetch the databases list.
In Google Chrome, you can flush the cookies by:
Go to xampp/phpmyadmin/libraries/classes/databaseintreface Open in sublime text go on line 1535 the code is written as ([zeroconf]==true) change it to ([zeroconf]!= true)...
in the line 1544 , change "if ($GLOBALS['dblist']->databases->exists('phpmyadmin'))" for "if ($GLOBALS['dblist']->databases->exists('phpMyAdmin'))".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With