简体   繁体   中英

How to migrate Logins from SQL Server to Azure SQL DB

I want to migrate SQL Server logins to Azure SQL. I tried using SQL Server Integration Service "Transfer Logins Links" but it throws "Keyword or statement option 'default_database' is not supported in this version of SQL Server."

No matter which ways migrate SQL Server to Azure SQL(single database), DMA or DMS, they all don't support migrate the logins or uses.

We must re-create the logins/users manually in the new Azure SQL database. There isn't a way can achieve that for now.

If you migrate SQL Server to SQL Server on Azure Virtual Machines(managed instance), you can reference this documnet: Migrate SQL Server logins with Data Migration Assistant .

Hope this helps.

在 master 数据库中创建一个用户并为登录设置新密码。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM