I am wondering if there is a tool available to setup multiple mySQL databases in cPanel or phpmyadmin. I am looking for the best tool to use. Thanks, Ac
Try Navicat: http://www.navicat.com/ They have a free trial and a free version for personal usage. I currently manage several hundred DB's effectively with this. You can do just about anything with it and it is worlds better than phpmyadmin.
I want to be able to auto setup mySQL dbs on hosting accounts. Something where you specify the login details for the hosting account and how many DBs you need and it sets them up.
You could write a quick php script to do it if you give the script sufficient permissions. If you have a lot of them, you could make a loop and change the name on each loop. $newDb = 'Db_name'; $query = "CREATE DATABASE $newDb"; $result = mysql_query($query); //then $query2 = "GRANT SELECT, INSERT, UPDATE, DELETE ON $newDb.* TO 'new_user'@'localhost' IDENTIFIED BY 'user_password'"; $result = mysql_query($query2); PHP:
This is the tool I was looking for. At least close enough. http://www.tradebit.com/filedetail.php/1727298-Development-PHP Thanks again, Andy