I am using Digital Ocean droplets for my WordPress Site. There are more than 60 binlog files in /var/lib/mysql. Most of the solutions say that I should purge them from MySQL. The storage is so full the Apache2 or MySQL are both off.
How can I get rid of these binlog files in this case in a way that doesn't lose my data? Running this
df -H --output=source,size,used,avail
Returns
Filesystem Size Used Avail
tmpfs 412M 43M 370M
/dev/vda1 63G 63G 0
tmpfs 2.1G 0 2.1G
tmpfs 5.3M 0 5.3M
/dev/vda15 110M 5.5M 104M
tmpfs 412M 4.1k 412M