phpMyAdmin:用于处理链接表的附加功能已停用

The*_*tor 13 mysql

我在 phpMyAdmin 版本的主页上收到此错误:3.2.1deb1 已停用使用链接表的附加功能。要了解原因,请单击此处。 当我点击链接时,我得到了这份报告。

$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
Bookmarked SQL query: Disabled
Browser transformation: Disabled

$cfg['Servers'][$i]['history'] ...  not OK [ Documentation ]
SQL history: Disabled

$cfg['Servers'][$i]['designer_coords'] ...  not OK [ Documentation ]
Designer: Disabled
Run Code Online (Sandbox Code Playgroud)

我已经使用脚本来创建表。我将权限分配给 pma 用户。一切都在 /etc/phpmyadmin/conf.inc.php 中设置

但它仍然不起作用......桌子是空的。我认为他们应该有一些东西。我对历史特征的关系感兴趣。显然我已经阅读了文档。也许其他东西正在取消这些价值观?有什么难点吗?

bug*_*com 27

您只需要注销 phpMyAdmin 或删除会话 cookie 并在进行更改后重新加载。

  • 卧槽 这怎么是正确答案??但它也对我有用。 (2认同)

The*_*tor 3

到处寻找我最终编辑了这个文件

/etc/dbconfig-common/phpmyadmin.conf

与我想做的事情无关,但我发现了这个评论

# automatically generated by the maintainer scripts of phpmyadmin
# any changes you make will be preserved, though your comments
# will be lost!  to change your settings you should edit this
# file and then run "dpkg-reconfigure phpmyadmin"
Run Code Online (Sandbox Code Playgroud)

所以我运行了dpkg-reconfigure phpmyadmin,尽管它已经在安装时运行了。它问我是否要重新创建数据库,我的回答是否定的。

现在

$cfg['Servers'][$i]['pmadb'] ...  OK
$cfg['Servers'][$i]['relation'] ...  OK
General relation features: Enabled

$cfg['Servers'][$i]['table_info'] ...  OK
Display Features: Enabled

$cfg['Servers'][$i]['table_coords'] ...  OK
$cfg['Servers'][$i]['pdf_pages'] ...  OK
Creation of PDFs: Enabled

$cfg['Servers'][$i]['column_info'] ...  not OK [ Documentation ]
Displaying Column Comments: Disabled
Bookmarked SQL query: Enabled
Browser transformation: Disabled

$cfg['Servers'][$i]['history'] ...  OK
SQL history: Enabled

$cfg['Servers'][$i]['designer_coords'] ...  OK
Designer: Enabled
Run Code Online (Sandbox Code Playgroud)

这不是升级,桌子被调用了pma_column_info,事实是,我不再关心了。至少我现在想要的功能可以用了