• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Auto create MySQL database and user for domain

P

Phliplip

Guest
Hi all,

I'm new to Plesk, but loving it allready! I bought a (dv) at Mediatemple, and it's great!

However, i have set up domain templates, and they are making it a breeze to create new customers. But unfortonately i havent quite figured out how to automate the process of creating a MySQL database and user for the new domain.

I'm thinking about creating a new event, and use the ./database CLI command to do this. Any thoughts about this?

Please tell if i'm missing or have overlooked something!

Best regards,

Philip Espersen
Denmark
 
Plesk does not offer such feature. You can relate to the events and create the databases you want, but you must write such a script on your own and place it in cron.
 
Back
Top