标签:默认 group 使用 menu item character mysq ups 问题 groups
缺少默认phpmydamin数据库的默认表是错误的。为了解决这个错误,您必须在phpmyadmin数据库中运行以下查询
下载并安装JetBrains数据报,并将此软件与本地数据库连接,然后对其运行以下查询以修复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;
标签:默认 group 使用 menu item character mysq ups 问题 groups
原文地址:https://www.cnblogs.com/gamecenter/p/11336313.html