PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, February 18, 2022

[FIXED] How do I remove pma tables from mysql without affecting other tables

 February 18, 2022     phpmyadmin     No comments   

Issue

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

[See Image]1

I have some Questions:

  1. Does this affect other tables?
  2. What is the use of this table?
  3. How can I completely disable advanced features in phpMyAdmin and so remove these pma tables?

Solution

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;



Answered By - Isaac Bennetch
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing