Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

PHP for Database creation

Nov 4, 2013 by darkshark
Hi all
I am looking for a way in PHO to create a WHM Database and a new MySQL user. I want to automatically add the database using a script so that everytime a new account is created this script is called to configure a database. Is this possible ? and how?

2 Answers

0 votes
Nov 4, 2013 by A007
Try using the API for the database functions.  Check this
0 votes
Nov 4, 2013 by tareq101
use the API1 functions for MySQL instead