- Plesk 12.5 for Windows
- Plesk Onyx for Windows
How to add
db_owner role to newly created MSSQL users?
Starting from Plesk version 12, MSSQL users created through Plesk interface are not provided with
db_owner role for security reasons.
In order to change this behavior perform the following steps:
Connect to the server via RDP;
Add the following settings to the
features.roles.mssql.readWrite = db_owner,db_datareader,db_datawriter,db_backupoperator,db_ddladmin
Run the following CMD command to apply the changes to all the MSSQL servers:
C:\> "%plesk_cli%\repair.exe" --update-mssql-users-permissions
Note: the existing users will obtain a new role as well.
Refer to the documentation Database User Roles and Permissions for more details.