mysql pma用户,如何从mysql中删除pma表而不影响其他表

I have a problem with my phpMyAdmin installation. I accidentally clicked something that creates the pma tables used by phpMyAdmin. (Probably advance features).

[

6ZkYz.png

I have some Questions:

Does this affect other tables?

What is the use of this table?

How can I completely disable advanced features in phpMyAdmin and so remove these pma tables?

解决方案

phpMyAdmin offers to create these tables for you to store configuration information for advanced functionality of the program. The tables are optional. Usually they're put in the 'phpmyadmin' database, but in the event that you don't have permission to create a new database the tables can be put in the database to which you do have access. Based on your comments, that seems to be what happened here.

You can remove them through any of the usual means to remove a table — either from each table itself go to the Operations tab and click the "Delete the table (DROP)" link, or go to the database Structure tab, select the ones that start with 'pma__', and pick 'Drop' from the "With selected:" dropdown box.

There's a chance that you'll run in to an error caused by it trying to write to the history table after you've removed that one, in that case logging out and logging back in should clear the error for you.

To answer your other questions:

Does this affect other tables?

No, the operation of each table is rather independent of each other.

What is the use of this table?

Various phpMyAdmin features like a graphical table relation editor, query history and bookmarks, and user preferences.

How can I completely disable advanced features in phpMyAdmin and so remove these pma tables?

Simply remove the tables. To completely remove any warning about the missing tables, you can edit the config.inc.php file to add $cfg['PmaNoRelation_DisableWarning'] = true;

and to disable the possibility of automatically creating these add $cfg['ZeroConf'] = false;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值