I’ve just downloaded phpMyAdmin 4.8.1 via composer on my local machine (windows) after installing my lamp stack apache 2.4, php 7.2, mariadb 10.3, but when I login using root (without password) it gave me this error on Chrome 67:
Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.
I’ve already set the blowfish secret and comment //$cfg['Servers'][$i]['AllowNoPassword'] = false;
I’ve already cleared my browser cache. This is a local development not production box. If I use $cfg['Servers'][$i]['auth_type'] = 'http';
I can login successfully but when i use the cookie
it gave me that error so I can’t proceed to login.
2
Answers
We had the same problem. Thanks to you, I was able to fix it. You just have to add this line to your
config.inc.php
:For context, this goes below the following condition:
config.inc.php
I solved it by resetting the cache of the page. Hold down the
shift key
on your keyboard and click on therefresh icon
close to the address bar on your Chrome browser.