skip to Main Content

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:

http://localhost/phpmyadmin/

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


  1. 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:

    $cfg['Servers'][$i]['auth_type'] = 'http';
    

    For context, this goes below the following condition:

    if($wampConf['SupportMariaDB'] =='on')
    

    config.inc.php

    Login or Signup to reply.
  2. I solved it by resetting the cache of the page. Hold down the shift key on your keyboard and click on the refresh icon close to the address bar on your Chrome browser.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search