乖兔博客

乖兔 > CMS系统 > Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin

Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin

乖兔 更新于: 2021-04-21 分类:CMS系统

Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.png

浏览器登录phpmyadmin的时候报错:Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin。

可能的原因有三点:

1、检查配置文件是否有错误,有错误改正,没错误则修改以下参数:

phpMyAdmin/libraries/config.default.php

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

2、浏览器cookies错误,清除浏览器cookies即可。

3、这种可能性比较小,就是phpmyadmin的路径中含有特殊字符,如果有,去掉特殊字符即可。

打赏