MySQL Server Log Maintenance
shell> cd mysql-data-directory
shell> mv mysql.log mysql.old
shell> mv mysql-slow.log mysql-slow.old
shell> mysqladmin -u root -proot flush-logs
On Windows, use rename rather than mv.
shell> cd mysql-data-directory
shell> mv mysql.log mysql.old
shell> mv mysql-slow.log mysql-slow.old
shell> mysqladmin -u root -proot flush-logs
On Windows, use rename rather than mv.
This entry was posted on Thursday, May 31st, 2012 at 3:59 am and is filed under SQL/ETL. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Designed by Adivorblog - Sponsored by Repossessed Autos - Adivor.it - Adsensenews.net