clearing myql binary logs |
clearing myql binary logs |
sanjaya78 |
Oct 25 2008, 04:51 AM
Post
#1
|
Group: Members Posts: 3 Joined: 25-October 08 Member No.: 6,982 |
Hello all,
I'd like to know how to clear down mysql binary logs from a script. I have a script which runs this: "C:\Program Files\mysql\bin\mysql" -uroot -prootpasswd < C:\ClearBinaryLogs.sql ClearBinaryLogs.sql: use db PURGE MASTER LOGS BEFORE 'NOW()'; doesn't clear anything but seems to complete without any errors and all the paths are correct, anyone have any ideas? Thanks in advance. |
Lo-Fi Version | Time is now: 19th April 2024 - 03:14 PM |