A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
I wanted to reinstall MySQL database earlier today and when I want to install them back, this error happens. Can anyone please help me with this?
I typed df -h and this is the result
root@azalelnation:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 79G 76G 0 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 799M 332K 799M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 0 3.9G 0% /run/shm
none 100M 0 100M 0% /run/user
overflow 1.0M 768K 256K 75% /tmp
Does this really look like it’s full? the /dev/vda1 still has 3 gigabytes left
As it says: Avail 0
What file should I delete? In which folder? Because Idk how to reduce it ):
Nvm. Solved. Thanks!
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
ERROR: There’s not enough space in /var/lib/mysql/
I’ve checked /var/lib/mysql and there is nothing in it. How do I solve this? Oh and uh, I don’t really know much about linux.. Sorry if I annoy you with my lack of knowledge
It means your disk is full.
You can use the following command to list the largest 10 files in /var:
sudo du -hsx * | sort -rh | head -10