mariadb ibdata1 file huge

http://pc-freak.net/blog/fix-mysql-ibdata-file-size-ibdata1-file-growing-large-preventing-ibdata1-eating-disk-space/ http://vdachev.net/2007/02/22/mysql-reducing-ibdata1/

cacti database headache

Kept getting database errors in my log. kept running myisamchk –extended-test *.MYI, then ‘myisamchk -r’ didn’t fix shit look for repair_database.php in /var/www/cacti/cli run php repair_database.php it will get rid of your headache