>But how do i do that?
Edit the MySQL Configuration File (my.cnf) and supply the DataDir-Value as needed.
For example, if your WindowsXP NTFS(?) Filesystem is mounted to /media/c, and mysql is installed in c:/mysql, you shoul supply the following value to DataDir:
- Code: Select all
DataDir = /media/c/mysql/data
Be sure that the user which runs the mysqld server process have sufficient rights (read and write) to change the data in /media/c/mysql/data. This depends on the mount options and on the NTFS driver of Linux.