• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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