
Originally Posted by
TechBrein
noimad1,
Remove the unwanted files, if any, from /var first. You may safely remove the mysql binary logs inside /var/lib/mysql. They usually consume very large space. Moving /var/lib/mysql to another location and creating a symlink to /var/lib/ should work. How did you move the mysql databases? Did you create a directory, say in /home, and then moved the dirs under /var/lib/mysql over there? If so, make sure that the directory that contains the mysql DBs has got the permission of 751 and the ownership of mysql:mysql.