【发布时间】:2011-09-19 01:00:03
【问题描述】:
我在 Windows 7 SP1 上使用 WampServer 2.1,但无法设置 MySQL 以使用 InnoDB 表。
这是我的配置的一部分(在 config.inc.php 中):
$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]['controluser'] = 'phpmyadmin';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
我已经创建了一个名为 phpmyadmin 的数据库,用户 phpmyadmin(以及在其数据库上的 SELECT、UPDATE、DELETE 和 INSERT 权限),密码为 pmapass。
我已经运行了 create_tables.sql 脚本并检查了表名,它们都是正确的。但是,在 phpmyadmin 中仍然出现此错误:
用于处理链接表的附加功能已停用。要了解原因,请单击此处。
这是诊断:
$cfg['Servers'][$i]['pmadb'] ... OK
$cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
General relation features: Disabled
$cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
Display Features: Disabled
$cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
$cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
Creation of PDFs: Disabled
$cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
Displaying Column Comments: Disabled
Browser transformation: Disabled
$cfg['Servers'][$i]['bookmarktable'] ... not OK [ Documentation ]
Bookmarked SQL query: Disabled
$cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
SQL history: Disabled
$cfg['Servers'][$i]['designer_coords'] ... not OK [ Documentation ]
Designer: Disabled
$cfg['Servers'][$i]['tracking'] ... not OK [ Documentation ]
Tracking: Disabled
不知道是否与登录的用户有关,但尝试使用 root 和 phpmyadmin 都没有成功。已经删除了所有缓存、cookie 等...尝试使用 IE9、FF6 和 Chrome13(读到有人说它在 chrome 中不起作用)。也重启了服务器,什么也没有……
任何帮助表示赞赏:)
【问题讨论】:
标签: mysql database innodb wamp