Home > Database > phpMyAdmin > body text

How to set an access password for phpmyadmin

王林
Release: 2019-12-12 09:10:26
Original
2948 people have browsed it

How to set an access password for phpmyadmin

First of all, it is recommended that you check whether you have set up a series of security accounts, enter the command terminal of the Linux system, enter:

sudo /opt/lampp/lampp security
Copy after login

, and then a series of For account settings, you can set them all the way. The overall settings are as follows:

How to set an access password for phpmyadmin

How to set an access password for phpmyadmin

How to set an access password for phpmyadmin

If set After completion (it is best to restart the lampp service first), if you still cannot access phpmyadmin through your account and password, you need to modify a file.

Open config.inc.php in the root directory of phpMyAdmin and modify it as follows:

$cfgServers[$i]['auth_type']= 'config';
Copy after login

Modify it to:

$cfgServers[$i]['auth_type']= 'cookie';
Copy after login

Save the file and visit phpmyadmin again. The account password can now be used.

As shown below:

How to set an access password for phpmyadmin

Recommended related articles and tutorials: phpmyadmin tutorial

The above is the detailed content of How to set an access password for phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!