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

2. I confirmed that the URL uses HTTPS. Prior to this, I had edited $cfg[‘blowfish_secret’]; before editing it was ”, and after editing it was $cfg[‘blowfish_secret’] = ‘20949d5b4c233f3c89705159446b641c0113f3f7ed1c76b0ee194d9f463ef1fe’; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
3. After clearing the browser cache, I logged in successfully. After logging in, a prompt appeared: The cookie encryption key in the configuration file is longer than necessary. It should be exactly 32 bytes long. Please refer to the documentation. See Figure 2.

4. After editing, it became $cfg[‘blowfish_secret’] = sodium_hex2bin(‘20949d5b4c233f3c89705159446b641c0113f3f7ed1c76b0ee194d9f463ef1fe’); /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */. The prompt no longer appeared: The cookie encryption key in the configuration file is longer than necessary. It should be exactly 32 bytes long. Please refer to the documentation. See Figure 3.
![After editing, it became $cfg['blowfish_secret'] = sodium_hex2bin('20949d5b4c233f3c89705159446b641c0113f3f7ed1c76b0ee194d9f463ef1fe'); /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */. The prompt no longer appeared: The cookie encryption key in the configuration file is longer than necessary. It should be exactly 32 bytes long. Please refer to the documentation](https://media.shuijingwanwq.com/2025/03/3-3.jpg)
