Home >Backend Development >PHP Tutorial > 用xampp的phpmyadmin新建数据库无权限如何解决

用xampp的phpmyadmin新建数据库无权限如何解决

WBOY
WBOYOriginal
2016-06-13 13:29:341283browse

用xampp的phpmyadmin新建数据库无权限怎么解决?
小弟刚学,跪求各位大哥大姐帮帮忙

------解决方案--------------------
默认的情况下密码为空
请注意,您更改 root 的密码之后,不要忘记更改 PHPMyAdmin 中的相关信息。在 \...\xampp\phpmyadmin\ 下搜索“config.inc.php”并编辑下面几行:

$cfg['Servers'][$i]['user'] = 'root'; // MySQL SuperUser
$cfg['Servers'][$i]['auth_type'] = 'http'; // HTTP MySQL authentification

从今往后,需要正确输入“root”的密码才能启动 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