小编E.M*_*.A.的帖子

phpMyAdmin错误:mysqli_real_connect():( HY000/1045):用户'pma'@'localhost'拒绝访问(使用密码:NO)

请不要将其标记为重复我无法在任何地方找到答案我不知道还能做什么.

我通过XAMPP与mysql连接一直出现以下错误,我不知道该怎么做:

在此输入图像描述

这是config.inc.php中的代码

<?php
/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 */
$cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE 
SECURE COOKIE AUTH! */

/*
 * Servers configuration
 */
$i = 0;

/*
* First server
*/
$i++;

/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

/* Bind to the localhost ipv4 address …
Run Code Online (Sandbox Code Playgroud)

xampp mysqli phpmyadmin

19
推荐指数
7
解决办法
9万
查看次数

标签 统计

mysqli ×1

phpmyadmin ×1

xampp ×1