Link to home
Create AccountLog in
Avatar of vanauden
vanaudenFlag for Canada

asked on

Flush MySQL using PHP

Can I create a script to "FLUSH QUERY CACHE" or "FLUSH LOGS" in MySQL using PHP?

Can someone provide an example script please?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of pvginkel
pvginkel
Flag of Netherlands image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Avatar of Roonaan
Roonaan
Flag of Netherlands image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of vanauden

ASKER

Thank you both!!

Roonaan thanks for the syntax (mysql_error) help!