Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

mysql flush commands

List of all mysqladmin flush commands.


flush-hosts: Flush all information in the host cache.
flush-privileges: Reload the grant tables (same as reload).
flush-status: Clear status variables.
flush-threads: Flush the thread cache.

# mysqladmin -u root -pmypassword flush-hosts
# mysqladmin -u root -pmypassword flush-logs
# mysqladmin -u root -pmypassword flush-privileges
# mysqladmin -u root -pmypassword flush-status
# mysqladmin -u root -pmypassword flush-tables
# mysqladmin -u root -pmypassword flush-threads

Check MySQL Server is up and running


# mysqladmin -u root -p ping
Enter password:
mysqld is alive



This post first appeared on Mysql Tech Tips, please read the originial post: here

Share the post

mysql flush commands

×

Subscribe to Mysql Tech Tips

Get updates delivered right to your inbox!

Thank you for your subscription

×