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

How to solve the problem that phpmyadmin configuration files now need top secret short passwords

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article will explain in detail how to solve the problem that phpmyadmin configuration file now needs top secret short password. Xiaobian thinks it is quite practical, so share it with you as a reference. I hope you can gain something after reading this article.

There are two solutions: (The second one is recommended)

1. Configure config.inc.php under phpmyadmin to change cookies to http

The copy code is as follows:

vi /usr/share/phpmyadmin/config.inc.php

[...]

/* Authentication type */

$cfg['Servers'][$i]['auth_type'] = 'cookie';

[...]

Then open the browser and enter the management address. At this time, a login window will pop up. Enter the user name and password.

However, I am not used to it, and after entering the management interface, I will pop up again when I choose to log out, which makes people feel that I have to log out like a password.

2. Compare the configuration of ubuntu phpmyadmin, there is such a configuration in ubuntu config.inc.php

The copy code is as follows:

// Load secret generated on postinst

include('/var/lib/phpmyadmin/blowfish_secret.inc.php');

/var/lib/phpmyadmin/blowfish_secret.inc.php, just one sentence

The copy code is as follows:

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

Development

Wechat

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

12
Report