Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpmyadmin.
1. Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin. as shown in Figure 1
2. It has been determined that the URL is https. Edited $cfg before this[‘blowfish_secret’]before editing, edited to $cfg[‘blowfish_secret’]=20949D5B4C233F3C89705159446B641C0113F7ED1C76B0EE194D9F463EF1FE; /* you must fill in this for cookie auth! */
3. After clearing the browser cache, log in successfully. After logging in, the prompt: The cookie encryption key in the configuration file is longer than the required time. It should be only 32 bytes in length. See documentation . as shown in Figure 2
4. After editing, it is $cfg[‘blowfish_secret’]= sodium_hex2bin(20949D5B4C233F3C89705159446B641C0113F7ED1C76B0EE194D9F463EF1FE); /* you must fill in this for cookie auth! */ . No more tips: The cookie encryption key in the configuration file is longer than it takes. It should be only 32 bytes in length. See documentation. as shown in Figure 3


![编辑 后为 $cfg['blowfish_secret'] = sodium_hex2bin('20949d5b4c233f3c89705159446b641c0113f3f7ed1c76b0ee194d9f463ef1fe'); /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ 。不再提示:配置文件中的 Cookie 加密密钥比所需的时间长。它的长度应仅为 32 字节。请参阅 文档](https://www.shuijingwanwq.com/wp-content/uploads/2025/03/3-3.jpg)