• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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