首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >#1146 -表'phpmyadmin.pma_recent‘不存在

#1146 -表'phpmyadmin.pma_recent‘不存在
EN

Stack Overflow用户
提问于 2012-10-06 21:55:06
回答 13查看 136.3K关注 0票数 48

解决方案人员..。

仅供参考,我使用xampp来使用phpmyadmin。在localhost上创建数据库的过程中会发生此错误。以下是phpmyadmin目录下config.inc文件的代码:

代码语言:javascript
运行
复制
<?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'] = 'HTTP';
$cfg['Servers'][$i]['user'] = 'root'; 
$cfg['Servers'][$i]['password'] = 'password';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Lang'] = '';

/* Bind to the localhost ipv4 address and tcp */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';

/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
//$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
//$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
//$cfg['Servers'][$i]['recent'] = 'pma_recent';
//$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';

/*
 * End of servers configuration
 */

?>
EN

回答 13

Stack Overflow用户

回答已采纳

发布于 2012-10-07 05:36:13

您必须在phpMyAdmin上的examples/文件夹中运行create_tables.sql,以创建高级特性所需的表。或者通过在配置文件中注释这些功能来禁用它们。

票数 75
EN

Stack Overflow用户

发布于 2013-08-25 01:13:30

我已经解决了

代码语言:javascript
运行
复制
sudo dpkg-reconfigure phpmyadmin
票数 81
EN

Stack Overflow用户

发布于 2014-01-22 17:04:33

您可以在/usr/share/doc/phpmyadmin/examples/目录中找到create_tables.sql.gz文件

提取它并通过pma__更改pma_前缀,反之亦然

然后导入新脚本SQL:

票数 15
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12760394

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档