phpMyAdmin配置存储未完全配置,部分扩展-Xammp-Version -7.3.8-0-VC15

我更新了 Xampp 版本 - 最新版本 = 7.3.8-0-VC15 我收到这些错误 -

错误 1-

The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why. 

我点击找出原因但不明白 -

错误 2 -

 mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)

错误 3-

 Connection for controluser as defined in your configuration failed.

我尝试了很多解决方案,但没有解决。

stack overflow The phpMyAdmin configuration storage is not completely configured, some extended - Xammp - Version -7.3.8-0-VC15
原文答案

答案:

作者头像

缺少默认 phpmydamin 数据库的一些默认表是一个错误。为了解决这个错误,您必须在 phpmyadmin database 中运行以下查询

我建议您下载并安装 JetBrains DataGrip 并将此软件与您的本地数据库连接并在其上运行以下查询以修复 phpmyadmin 问题。另一种方法是,如果您对命令行友好,请使用命令行登录 mysql 并运行查询。

CREATE TABLE IF NOT EXISTS `pma_users` (
  `username` varchar(64) NOT NULL,
  `usergroup` varchar(64) NOT NULL,
  PRIMARY KEY (`username`,`usergroup`)
) 
  COMMENT='Users and their assignments to user groups'
  DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;

CREATE TABLE IF NOT EXISTS `pma_usergroups` (
  `usergroup` varchar(64) NOT NULL,
  `tab` varchar(64) NOT NULL,
  `allowed` enum('Y','N') NOT NULL DEFAULT 'N',
  PRIMARY KEY (`usergroup`,`tab`,`allowed`)
) 
  COMMENT='User groups with configured menu items'
  DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;

CREATE TABLE IF NOT EXISTS `pma_navigationhiding` (
  `username` varchar(64) NOT NULL,
  `item_name` varchar(64) NOT NULL,
  `item_type` varchar(64) NOT NULL,
  `db_name` varchar(64) NOT NULL,
  `table_name` varchar(64) NOT NULL,
  PRIMARY KEY (`username`,`item_name`,`item_type`,`db_name`,`table_name`)
) 
  COMMENT='Hidden items of navigation tree'
  DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;

然后将以下代码添加到 config.inc.php 文件中:

$cfg['Servers'][$i]['users'] = 'pma_users';
$cfg['Servers'][$i]['usergroups'] = 'pma_usergroups';
$cfg['Servers'][$i]['navigationhiding'] = 'pma_navigationhiding';