i'm doing a script to add users for a mysql database.
i can insert the user fine, what i can't seem to do is get the severs to reload the priviledges tables.
i've tried mysql_query("flush priviledges") with no luck.
help?
-- rad
Try mysqladmin reload.
Sam
FLUSH PRIVILEGES is spelt without the letter D.
D'OH!!!!!!!
cheers mate. :-)