换个浏览器就解决了:Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.

2022年04月07日13:19:53 发表评论

今天由于更换主机安装了LNMP,安装完毕配置数据库时却发现phpMyAdmin登录不了,按提示的意思说的好像是cookie问题。

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

中文意思是:无法设置会话cookie。也许您正在使用HTTP而不是HTTPS来访问phpMyAdmin。

登录phpMyAdmin报错

登录phpMyAdmin报错

在网上看了几篇文章,说是要修改一些代码,其实这个问题解决起来很简单,你只需更换个浏览器就能登录,例如Chrome、IE浏览器,而用Firefox浏览器登录就会出现这个问题。

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

表情