Articles in this section

How to access Plesk phpMyAdmin without logging in to Plesk?

Plesk for Windows kb: how-to Plesk for Linux ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to enable direct access to phpMyAdmin, skipping the Plesk login?

Answer

Direct access to phpMyAdmin can be enabled with the following steps.

Note: The database credentials are still required.

  1. Log into Plesk

  2. Edit panel.ini, adding these lines to it

    [databaseManagement]
    features.phpMyAdmin.loginForm.enabled = on

  3. Log in to phpMyAdmin with the database credentials at https://example.com:8443/phpmyadmin

    Note: Clear the browser cache and cookies if there are errors.

Error "Cannot connect: invalid settings"

The information entered in panel.ini is incorrect. Restore the original.

  1. Rename the current panel.ini

    # mv /usr/local/psa/admin/conf/panel.ini{,.old}

  2. Copy the original template

    # cp /usr/local/psa/admin/conf/panel.ini.sample /usr/local/psa/admin/conf/panel.ini

  3. Repeat the steps from the guide

Was this article helpful?

Comments

1 comment
Date Votes
  • With a custom URL, the configuration works well... until the login page.

    The page displays fine, but when you validate the login form, you get a 404 error.

    In short, it's impossible to use a custom URL, only the server URL with /phpmyadmin at the end works.

    0

Please sign in to leave a comment.