Home > Backend Development > PHP Tutorial > phpMyAdmin安装并配置允许空密码登录_PHP

phpMyAdmin安装并配置允许空密码登录_PHP

WBOY
Release: 2016-05-30 08:45:38
Original
866 people have browsed it

下载phpMyAdmin,解压到apache的web目录中

http://www.phpmyadmin.net/

访问 http://127.0.0.1/phpMyAdmin/index.php

用数据库的用户名和密码即可登录。

如果出现“空密码登录被禁止 (参见 允许空密码)”的错误提示,其解决方法如下:
1. 将phpMyAdmin目录下的 config.sample.inc.php 复制一份改名为 config.inc.php
2. 将下面的键的值改为 true 即可。

代码如下:


cfg[′Servers′][i][‘AllowNoPassword'] = false;

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