Is there any way to easily create a mysql database for a user (as root) via the commandline? I'm trying to write a script that needs this functionality.
Any help would be great.
cPanel.net Support Ticket Number:
Is there any way to easily create a mysql database for a user (as root) via the commandline? I'm trying to write a script that needs this functionality.
Any help would be great.
cPanel.net Support Ticket Number:
Anyone? Please? =]
cPanel.net Support Ticket Number:
Is there a way at all to do this ?
cPanel.net Support Ticket Number:
The Root, The Root, The Root is on FIRE !!!
You can use mysqladmin to create a database from the command line. If you need to grant privs to a user, you can probably do this fairly easily with an bash/expect script.
cPanel.net Support Ticket Number:
The rest of those who have gone before us cannot steady the unrest of those to follow.