InMotion Hosting Support Center

Programatic way to create mysql databases and users

Category: Databases

2012-09-05 7:12 pm EST

Hits: 909
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?



You must login before you can ask a follow up question.

You must login before you can submit an answer.



28,447 Points
2012-09-05 7:27 pm EST
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.


Arnel C.

You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!