Home >Backend Development >PHP Tutorial >phpMyAdmin is installed and configured to allow empty password login

phpMyAdmin is installed and configured to allow empty password login

WBOY
WBOYOriginal
2016-07-25 08:45:03910browse

Download phpMyAdmin and extract it to the apache web directory

http://www.phpmyadmin.net/

Visit http://127.0.0.1/phpMyAdmin/index.php

Log in with your database username and password.

If the error message "Login with empty password is prohibited (see Allowing empty passwords)" appears, the solution is as follows:
1. Copy config.sample.inc.php in the phpMyAdmin directory and rename it to config.inc.php
2. Change the value of the following key to true.
Copy the code The code is as follows:
cfg[′Servers′][i][‘AllowNoPassword’] = false;

phpMyAdmin


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