Account Creation Failure for a Microsoft SQL Server Database Migrated from Alibaba Cloud to HUAWEI CLOUD
Description
An error was reported when an account was attempted to be created for a Microsoft SQL Server database migrated from Alibaba Cloud to HUAWEI CLOUD.
Fault Analysis
The Microsoft SQL Server database on Alibaba Cloud has a TGR#ON#DATABASE trigger that prevents SQL Server Management Studio from creating and authorizing users. Therefore, database users can be created only on the Alibaba Cloud management console. On HUAWEI CLOUD, database users can be created on SQL Server Management Studio.
Therefore, before migrating a Microsoft SQL Server database from Alibaba Cloud to HUAWEI CLOUD, you need to disable the TGR#ON#DATABASE trigger of Alibaba Cloud first and then create and authorize database users on SQL Server Management Studio.
- Log in to the SQL Server Management Studio client.
- Set TGR#ON#DATABASE to disable.

- Create database users on SQL Server Management Studio and authorize them.
The new user authorization must be mapped to the msdb database.
Last Article: Commands for Exporting Data Through Mysqldump
Next Article: System Inaccessible After Field Addition to a MySQL Database Table
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.