WAMP data folder contains large mysql-bn.xxxxxx files

These files are logs from MySQL queries. To clear them, do the following

  1. Go to your mysql bin folder  (ex C:\wamp\bin\mysql\mysqlx.x..xx\bin)
  2. Run  mysql.exe -u root -p
  3. enter the password
  4. Run this command:  SHOW BINARY LOGS;
  5. look for the last entry
  6. Run this command:  PURGE BINARY LOGS TO 'mysql-bin.xxxxx' 
    Where mysql-bin.xxxxx is the filename of the last entry.
Done!

Comments

Popular posts from this blog

Windows RRAS VPN configuration when server is behind NAT

Lenovo X1 Carbon Battery Problem - Plugged, Not Charging

Multiple Remote Desktop sessions on Windows XP