Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to shrink the error log ?

Status
Not open for further replies.
Jun 13, 2002
7
DE
Hi All,

we are running MySQL 3.23 on solaris.
The errorlog (<hostname>.err)is growing like hell.
Is there a way to reduce the size of this error-log
without shutting down mysql?
All the time mysql has a lock on this file.

René
 
Have you tried `mysqladmin -u root -p flush-logs`
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top