Menu

#4749 Zeroconf PMA support should be per-DB

4.3.8
wont-fix
nobody
None
Normal
2015-03-31
2015-02-05
No

The Zeroconf PMA DBs were supposed to be per-DB, not global. It seems they're global though.

Discussion

  • Marc Delisle

    Marc Delisle - 2015-02-05

    Olaf,
    after looking at the impact of duplicating the configuration storage in all the databases, we decided to support the scenarios which are explained in
    http://docs.phpmyadmin.net/en/latest/setup.html#phpmyadmin-configuration-storage

     
  • Olaf van der Spek

    That sucks :p

    The following three scenarios are convered

    Covered?

    When entering a database where the configuration storage tables are not present, phpMyAdmin offers to create them from the Operations tab.

    Doesn't appear to be right if you indeed only support one set of PMA tables.
    If the tables are shared with multiple DBs I do NOT want them to be in one of the DBs.

    I think you should reconsider.

    What is the recommended way to export / import the relations of ONE specific DB?

     
    • Marc Delisle

      Marc Delisle - 2015-02-05

      Typo fixed in the repo.

       
    • Marc Delisle

      Marc Delisle - 2015-02-07

      The proper way of setting up the configuration storage is via config.inc.php. This way, you can indicate exactly where you want the storage to be. The ZeroConf mechanism is a way to help those who don't want to properly configure, and IMO cannot support all possible scenarios.

       
      • Olaf van der Spek

        Right, but then how do I export and import relations and other stuff of just a single DB?

         
  • Marc Delisle

    Marc Delisle - 2015-02-05
    • summary: Zeroconf PMA support broken --> Zeroconf PMA support should be per-DB
     
  • Olaf van der Spek

    IMO you should try to create the tables in a separate DB (phpmyadmin) and only if that fails offer the user the option to create them in the current DB.

     
    • Marc Delisle

      Marc Delisle - 2015-02-09

      Scheduled to be discussed at the next team meeting:
      https://wiki.phpmyadmin.net/pma/2015-02_Meeting

       
  • Olaf van der Spek

    Exporting and importing wasn't discussed at the meeting right? IMO that's THE issue.

     
    • Marc Delisle

      Marc Delisle - 2015-03-31

      Olaf,
      IMO, this becomes an issue for you, only because you choose to not do the recommended configuration. As the team decided to not support per-db configuration storage, I am closing this.

       
  • Marc Delisle

    Marc Delisle - 2015-03-31
    • status: open --> wont-fix
     
  • Olaf van der Spek

    Not supporting per-DB storage is (kinda) fine, but the issue of per-DB export/import of this data isn't addressed yet.

     
    • Marc Delisle

      Marc Delisle - 2015-03-31

      Could you give an example of what you mean by "What is the recommended way to export / import the relations of ONE specific DB?"

      What kind of relations?

       
  • Olaf van der Spek

    Relations between fields (foreign keys) and other (per-DB) data stored in the pMA storage.

     
    • Marc Delisle

      Marc Delisle - 2015-03-31

      Ok, but in your case, these are normal tables in your db, correct? So when you export, these tables are not present in the exported result?

       
  • Olaf van der Spek

    They might be in the same DB, they might be somewhere else, both when exporting and when importing.

    AFAIK when exporting a database pMA does not export the pMA data if it's stored in a separate DB.

     
  • Madhura Jayaratne

    IMO having pMA tables in every database is not the right approach to export metadata such as relations when exporting structure and/or data.
    We probably can offer users an option in the export page to export such metadata.
    Can you please raise a feature request for such a feature.

     
MongoDB Logo MongoDB