Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Flushing mysql logs

7:01 pm on Aug 13, 2009 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 11, 2006
posts: 379
votes: 0

Hi, i activated the Slow Query Log to check for some issues a few weeks ago and now i want to delete the contents of this file (is way to big 270mb).

I've tried:
mysqladmin -u myuser -p flush-logs

...but it returns a "you need the RELOAD priviledge for this operation" message.

I've also tried using -u root but it doesnt seem to have the necesary permisions to connect to mysql (odd?)

What can i do to flush this file without stopping the mysqld service?


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members