Question
How to add a database in Plesk?
Answer
The steps vary slightly depending on the view being used. If a section is missing or different, make sure that Plesk is up-to-date, or contact the administrator or provider, as some options may be limited.
Hosting Provider View
Power User View
Command Line
-
Go to Domains > example.com > Databases
-
Press Add Database
-
Enter the database details and press OK
-
Go to Websites & Domains > example.com > Databases
-
Press Add Database
-
Enter the database details and press OK.
-
Log in via SSH
-
Run the following command, where
example_database
is the database name, andexample.com
the domain# plesk bin database --create example_database -domain example.com -type mysql
For details, see: Reference for Command-Line Utilities, Plesk for Linux: Databases