Article ID: 126210, created on Jul 15, 2015, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.0 for Windows


Sandbox DB server has been registered properly in the system according to guide.

But when attempt to create a DB via cmd the error appears:

& '"%plesk_bin%"\database.exe' --create cnolanDB -domain -server -print-id...

database.exe : Unable to create database: No such database server registered in Plesk
At line:1 char:1
+ & 'C:\Program Files (x86)\Parallels\Plesk\admin\bin\database.exe' --create...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Unable to creat...stered in Plesk:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

It doesn't show up in the Plesk panel so it would seem the CLI is our only option for adding the database through Plesk.

How to make sure sandbox DB server is properly installed? How to create database and make it available in Plesk?


There are few points bellow about sandbox DB server for Plesk that should be noted:

  1. If the sandbox server was configured - this means it was configured properly. Otherwise it shows error on registration step.

    To make sure settings are implemented you can check the details in database:

    "%plesk_bin%"\dbclient.exe --direct-sql --sql="select * from misc where param like \"sandbox%\""
    param   val
    sandbox_mssql_server_admin      sa
    sandbox_mssql_server_db_server_network_backup_dir       \\\d$\temp
    sandbox_mssql_server_db_server_network_backup_pwd       $AES-128-CBC$c...k+yMUk1I9w
    sandbox_mssql_server_db_server_temp_backup_dir  d:\temp
    sandbox_mssql_server_passwd     $AES-128-CBC$c...kdfdkAAsdw
  2. The Sandbox server if configured is never used during database creation neither from GUI nor from CLI.
  3. The sandbox server is not supposed to be used for hosting customers database or even be listed in the list of the configured databases servers. The Sandbox server feature is designed to use intermediate temporary server connected with "sysadmin" role to fix customers' database dumps is being restored on MSSQL servers connected with user without sysadmin role.

Search Words

sandbox DB server

Sandbox database server registration questions

ed7be2b984f9c27de1d2dc349dc19c6d 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 85a92ca67f2200d36506862eaa6ed6b8 a766cea0c28e23e978fa78ef81918ab8

Email subscription for changes to this article
Save as PDF