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 \'
In version 5.6 at least, the Management tab in MySQL Workbench shows that it's in a hidden folder called ProgramData in the C:\ drive. My default data directory is
C:\ProgramData\MySQL\MySQL Server 5.6\data
. Each database has a folder and each table has a file here.