/var/log/mysql is filling up

Hi Team,

We are getting space error while restoring mysql DB in RT 5, everytime “/var/log/mysql” mount is filling which is throwing the error.

Our DB (rt4_29May2021.sql) backup size is 8 Gb, need you help to resolve the same as we already increased the mount three times.

Command using for restore - “mysql -u admin rt5 < rt4_29May2021.sql

image

Is it your MySQL binary log file filling up? You might find this part of the MySQL documentation useful - you could temporarily disable the log whilst doing the restore possibly?