phpmyadmin switch user/db

Discussion in 'ISPConfig 3 Priority Support' started by arraken, Mar 30, 2017.

  1. arraken

    arraken Member HowtoForge Supporter

    Hi!
    I use the following URL to connect to PHPMyAdmin from the ISPConfig interface:
    http://server/phpmyadmin/index.php?server=servername&db=databasename
    I would like to make two enhancements if possible:
    1. Can I pass the DB-username somehow? I noticed that there is a pma_username parameter which can be used in the phpmyadmin URL, however in ISPConfig I only have [SERVERNAME] and [DATABASENAME] as placeholders.
    2. When a user logs into phpmyadmin, and doesn't log out, and then clicks on another database-link in ISPConfig, he get's logged in to the old session, even if the db=databasename parameter links to another database. Is there a workaround for this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) ISPConfig does not provide a parameter for that, so you will have to alter the ISPConfig code and add such a parameter.
    2) I'm not sure if phpmyadmin provides functions to end a user session automatically when someone wants to switch to another database or by providing a get parameter.
     
    arraken likes this.

Share This Page