Page 1 of 1

MySQL Data Directory

New postPosted: Thu Mar 27, 2008 10:50 pm
by Ranman
The mysqld daemon starts with a cd to 'mysql-data-dir'.

After this, 'mysqld-data-dir' is changed to './' (current dir).
All paths (databases, pid file, and log file) have this directory as
base path './'.

If you have any problems with wrong paths, try mysqld --help
to see your current paths. Every path can be changed by a startup
option to safe_mysqld or mysqld.