Dans tous les cas vous pouvez le savoir :
mysql> select @@datadir;
+----------------------------------------------------------------+
| @@datadir |
+----------------------------------------------------------------+
| D:\Documents and Settings\b394382\My Documents\MySQL_5_1\data\ |
+----------------------------------------------------------------+
1 row in set (0.00 sec)
Merci Barry Galbraith du forum MySql http://forums. mysql.com/read.php?10,379153,379167#msg-379167