Home  >  Article  >  Database  >  How to set an access password for phpmyadmin

How to set an access password for phpmyadmin

王林
王林Original
2019-12-12 09:10:262955browse

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

, 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';

Modify it to:

$cfgServers[$i]['auth_type']= 'cookie';

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!

Statement:
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