• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Connecting to MSSQL Database

R

riprod

Guest
Sorry, I poseted this in the wrong place, here goes again...

I'm on a dedicated server with plesk and have setup my domain. I can create a new MSSQL database and users from Pleask but how do I connect to an exisiting MSSQL database. I have copied the .MDF file into the Databases\MSDE\MSSQL\DATA folder but it does not show up in enterprise manager.

I have even tried creating a database with the same name and then going to the server and overwriting it with my database. That doesn't work.

Please help. Thanks
 
You can use MSSQL Enterprise Manager or you can use stored procedure sp_attach_db for it.
But to connect it to Plesk at first you should create it via it then drop directly via Enterprise Manager or osql and then attach the original one.
 
Back
Top