I need to reload MySQL once I've added a new database and given it the appropriate rights. MySQL Admin allows you to reload manually. Is there a way to do this using PHP code?
Ravi
I pulled this right out of the MyAdmin code which works fine for me:
$result = mysql_query("FLUSH PRIVILEGES"); // <-- This is what you want if ($result != 0) { echo "<b>$strMySQLReloaded</b>"; } else { echo "<b>$strReloadFailed</b>"; }
....ya...soon after I posted the question...i pulled that MyAdmin code and it seemed to work....thanx for the reply dennis...much appreciated