作者:旧日旧面 | 来源:互联网 | 2023-09-25 16:00
Starting with phpMyAdmin version 4.7, COOKIE authentication no longer works.
Steps to reproduce
- Set up configuration:
Set $cfg['blowfish_secret'] as documented.
Set $cfg['Servers'][$i]['auth_type'] = 'COOKIE';
- Create MySQL database and user.
Create a browser file (.htm or .html extension) with the following content (substitute action URL, pma_username, and pma_password with proper values):
Open the file in the browser.
Expected behaviour
The user should be logged in as it was the case up until phpMyAdmin 6.9.9.
Actual behaviour
The log in page is showing up instead.
Server configuration
Operating system: Windows Server 2012 R2
Web server: IIS 8.5
Database: MySQL 5.7.19
PHP version: 7.1.7
phpMyAdmin version: 4.7.0 or later
Client configuration
Browser: IE, Edge, Chrome, or FF
Operating system: Windows, Linux, or Mac.
该提问来源于开源项目:phpmyadmin/phpmyadmin
You should really consider switching to signon auth, that's really only supported way for this...