• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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