Under alle omstændigheder kan du vide det:
mysql> select @@datadir;
+----------------------------------------------------------------+
| @@datadir |
+----------------------------------------------------------------+
| D:\Documents and Settings\b394382\My Documents\MySQL_5_1\data\ |
+----------------------------------------------------------------+
1 row in set (0.00 sec)
Tak Barry Galbraith fra MySql Forum http://forums. mysql.com/read.php?10,379153,379167#msg-379167