Programatic way to create mysql databases and users

Avatar
  • Answered
Is there a programatic way to create mysql databases and users?

I did some internet research and I found that some shared hosts allow the use of a cpanel script and php. Would this work?

Thanks,

--Les
Avatar
Arn
Hello Lesarrow, You may have two ways to look at this. One, you can use phpMyAdmin to actually use SQL in order to builder users or tables. And you can use cron jobs to create databases in Cpanel. We unfortunately cannot give you any coding support, but we can try to point you towards the right direction and resources that may help. Here's a few links that may help: PHPMYADMIN Information Cron Job documentation from Cpanel If you have any further questions, please contact technical support or leave a comment at the bottom of the page. Regards, Arnel C.