Link to the right database

Discussion in 'Installation/Configuration' started by Pyanepsion, Aug 2, 2019.

  1. Pyanepsion

    Pyanepsion Member

    hello,
    • Debian 4.9.168-1+deb9u4 (2019-07-19) x86_64
    • ISPConfig Version: 3.1.14p2 single
    Which URL should be specified so that when you click on the button of a database, it opens the right database and not the generic phpmyadmin window?
    database-01.png
    database-02.png
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to add:

    ?db=[DATABASENAME]

    to the url
     
  3. Pyanepsion

    Pyanepsion Member

    When we click on the link to open a database, a token changes every time you open it. Once the database is open, it will always be open until the database is closed in phpmyadmin.
    Maybe we need to enter the password somewhere in the URL? After all, Wordpress [and other scripts] can access the URL of the database. How to do?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If WordPress can connect to phpmyadmin with selecting the database correctly, then find out which exact URL WordPress is using and enter that URL into the URL field under system > interface config in ISPConfig.
     
  5. Pyanepsion

    Pyanepsion Member

    It was a simple observation. Wordpress, and all other CMS know how to find the URL of their own database simply from the name of the database and the password since these CMSs work. I do not know how to proceed to know this URL.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You mix up a few things here. phpmyadmin is a database administration frontend which is used to administer all databases of your server and when you log in to phpmyadmin, you see a list of all databases that are accessible from the database user that you used to log in. That's way different from a cms which access its own database.
     

Share This Page