• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question How to assign databases to a domain manually

onki

Regular Pleskian
Server operating system version
ubuntu 20.04
Plesk version and microupdate number
17.8
Hi,

Is there a procedure to assign a database manually to a domain?
There are several databases on my Plesk server that are not assigned to a domain and so the cannot be found easily.

Best regards
Onki
 
Hi,
If a database is created via Plesk and registered in Plesk under a subscription, you can link DB to a domain as follows:
- browse to Domain > Databases page in Plesk
- there is a drop-down menu 'Related to' against databse name
- select a domain that you would like to link with a particular database

If a database is created directly in SQL console and Plesk is not aware of its existence you can try the following:
- create a dump of the database
- delete it from the server
- then log into Plesk, browse to subscription you need, databases and create a database with the same name
- use Import Database option to import data
Screenshot 2023-02-28 at 17.32.33.png
For this procedure, I would recommend to test it with some dummy database first.
Also, you can avoid removal of existing database, just create dump, create a new database in Plesk with new name and import data
 
Side question: Which reason is there to use "Assign this database to a site"? Is it only for keeping track and not get confused? I have a database which is used by a subdomain, but in /smb/database/list/ is shown "Assign this database to a site". Can I change this assignments which any technical consequences to the site?
 
Back
Top