• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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