• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved How to add a previous database to show up in plesk GUI

Hi Alireza Famili,

pls. have a closer look at the official Plesk documentation:


As you can see, you are able to assign an existing database to a subscription with the the example command:
Code:
plesk bin database --assign-to-subscription DATABASE-NAME -domain YOUR-DOMAIN.COM -server localhost:3306
 
Last edited by a moderator:
Hi Alireza Famili,

pls. have a closer look at the official Plesk documentation:


As you can seem you are able to assign an existing database to a subscription with the the example command:
Code:
plesk bin database --assign-to-subscription DATABASE-NAME -domain YOUR-DOMAIN.COM -server localhost:3306


Hi,

Thanks you for the reply. But suggested command outputs "specified database not found"
But pointing me to the documention I found the solution:
Code:
plesk bin database --register sampledb -domain example.com -server localhost:3306

This brought the existing databse under correct subscription with PMA access.

THanks!
 
Back
Top