Where does mysql store data? I found out (by using mysql>SELECT @@datadir ) that it\'s in var/lib/mysql - but that can\'t be it. I have a quite big database (4 GB) called \'
Reading between the lines - Is this an innodb database? In which case the actual data is normally stored in that directory under the name ibdata1. This file contains all your tables unless you specifically set up mysql to use one-file-per-table (innodb-file-per-table)