Stuck with the error, Unable to add MS SQL database in Plesk? We can help you.
The number of MS SQL databases is limited for the webspace, subscriptions, or reseller’s plan.
Hence, at times, we may come across the error:
Unable to add MS SQL database in Plesk: only MySQL database is available
As part of our Server Management Services, we assist our customers with several MS SQL queries.
Today, we will discuss the causes and resolution of the error.
How to add an MS SQL database to the Plesk panel?
Moving ahead, our Support Techs suggest following the below steps to add an MS SQL database to the Plesk panel.
- Log in to Plesk Control Panel.
a) In Plesk 12, on the Subscriptions tab, select the [domain] that we want to work with, then select the Websites & Domains tab.
b) In Plesk 11, click on the My Subscriptions section and then the [domain]. Later, click on the Websites & Domains tab.
c) In Plesk 9, click on Domains, then click on the [domain] needing a new database. - Click on Databases >> Add New Database.
- Next to Database Name, enter a name to use.
- For Type, choose Microsoft SQL Server (DNN uses the Microsoft SQL Server)
For Plesk 12, we can create the user at this point. - We may ignore the Restore Database from the backup file checkbox.
- Finally, click OK.
However, while doing this we may be unable to select the MSSQL database under Subscriptions. We might see that only MySQL database is available.
Moving ahead let us see how our Support Techs fix this.
How to resolve Unable to add MS SQL database in Plesk?
Web Admin Edition:
- Log in to Plesk.
- Go to Tools & Settings > License Management and check if Microsoft SQL Server support enabled or not:
If no, we need to purchase the MS SQL support first for the subscription.
MSSQL support is included in the Power Pack and Developer Pack. - If yes, run the command below to get the current limit of MSSQL databases for the required webspace:
C:\> plesk bin subscription_settings –info example.com | findstr max_mssql_db max_mssql_db 30 MS SQL databases
- Then increase the number of MSSQL databases for the required webspace:
C:\> plesk bin subscription_settings -u example.com -max_mssql_db 100 plesk bin subscription_settings -u example.com -max_mssql_db -1
Web Pro and Web Host Editions:
- Log in to Plesk.
- Go to Subscriptions > example.com > Account > Resources.
- Find the MS SQL database number.
If it reached its limit, increase it in the following ways:
a) Subscriptions > example.com > Customize > Resources page and increase the MS SQL databases limit (changes will affect only this subscription).
b) Go to Subscriptions > example.com > Service Plan: Default > Resources page and increase the MS SQL databases limit (changes will affect all subscriptions assigned to this service plan). - If it did not reach the limit, go to Subscriptions > example.com > Subscriber: John Bob > Provider: Jane Bob.
Click the Change Plan button to increase the MS SQL databases number for all resellers assigned to this service plan.
Click the Customize button to increase the MS SQL databases number only for this reseller. - Find the MS SQL databases number and increase it to the required value.
[Need help with the procedures? We can help you]
Conclusion
In short, the number of MS SQL databases is limited for the webspace, subscriptions, or reseller’s plan. Hence we may face this error. Today, we saw how to fix the same.
0 Comments