How to register an existing database in Plesk



1 comment

  • Avatar

    An additional information is valid, if you have more than one database server to map, for the second command is necessary set as default on which server the database is present, 'Tools & Settings > Database Servers > db server > Settings > Use this server as default for MS SQL`. In such conditions it is possible to explicitly specify the server in the command by adding `-server`, for example:

    # plesk bin database --register-dbuser db_user -domain -database db_name -type mysql -user-role readWrite -passwd <password> -server

Please sign in to leave a comment.

Have more questions? Submit a request