Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Solutions to phpmyadmin login errors must be enabled with cookie

2025-05-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the phpmyadmin login error must be enabled cookie solution, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.

Phpmyadmin login error, must enable cookie solutions: 1, the installation directory of the configuration file [config.sample.inc.php], save as [config.inc.php] for direct use; 2, modify the [config.default.php] file value.

Phpmyadmin login error, cookie solution must be enabled:

First, we will directly install the phpMyAdmin directory of the configuration file config.sample.inc.php, save as config.inc.php direct use. This is correct. But there are a few points to pay attention to:

$cfg ['blowfish_secret'] =' cookie'

Be sure to fill in, generally fill in cookie.

Also, if mysql connects with socket, don't forget to modify the following line:

$cfg ['Servers'] [$I] [' connect_type'] = 'socket'

Most people can correct the above step, but it is not possible to only modify the config.inc.php file in the root directory. There is another file that needs to be modified, that is, the config.default.php file in the libraries directory.

2. In the config.default.php file, the areas that need to be modified are:

$cfg ['blowfish_secret'] =' cookie'

The default value in the file is empty, and you need to fill in the same value as config.inc.php.

If mysql connects using socket, modify the following two lines:

$cfg ['Servers'] [$I] [' socket'] ='/ tmp/mysql.sock'

This needs to be filled in according to your own mysql configuration. If you don't know how to leave it empty, use the default mysql setting.

$cfg ['Servers'] [$I] [' connect_type'] = 'socket'

Refresh the phpMyAdmin login page, problem solved!

Thank you for reading this article carefully. I hope the article "the solution to phpmyadmin login errors must be enabled with cookie" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report