Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm looking at the log of a mysql server and we have full query logging going on. We're running mysqldump on it to back it up. Right before the server restarts itself, there's an entry in the query log Refresh. What does that mean?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Refresh indicates that MySQLd is flushing all tables, closing all logs files and then re-opening log files.

It is a protocol level command (COM_REFRESH) that can be called from mysqladmin and acts similar to a combination of the SQL commands FLUSH TABLES; FLUSH LOGS;.

You can find some details in the privileges document here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.