• 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/

Connect to mssql db

G

graffiti2000

Guest
When I try to create a new domain I get an error message:

"DNS records for domain with such name already exist"

I found this solution:

Remove these DNS records straight from Plesk database:
DELETE FROM `dns_recs` WHERE DisplayHost LIKE '%domain.com%';

Is this a good solution?

Anyway I don't know where should I write the query...how do I connect to mssql db, should I install an additional software?

thank you

Wania
 
Use command line utility osql.exe

c:\> osql -E -d psa
DELETE FROM `dns_recs` WHERE DisplayHost LIKE '%domain.com%';

Plesk database name can differ from `psa`. It depends on how you named it.
 
Back
Top