Plesk

database.exe: Databases

The database.exe utility serves to manage databases and database
user accounts used by Plesk domains. The utility allows the following
operations:

Location

%plesk_cli%

Usage

database.exe <command> [<database_name>] [
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
]

Example

The following command creates the MySQL database jdoe-gallery on the
domain example.com.

plesk bin database.exe --create jdoe-gallery -domain example.com -type mysql

Commands

Command Parameter Description Example
--create or -c <database_name>

Creates a database with a specified name.

Requires -domain option.

To create the jdoe-gallery database on example.com:

plesk bin database.exe --create jdoe-gallery -domain example.com -type mysql

or

plesk bin database.exe -c jdoe-gallery -domain example.com -type mysql