: Hi,
:
: I read the article but still I haven't been satisfied with the proposed solution. All databases are still kept under the MySQL data directory while I would like to specify the path to my database that is outside the normal data directory under MySQL. My data directory will be under my project directory for example: C:\CodeBase\HotelMan\Data. Is it possible for me to access a database using dbExpress and Mysql that is located outside MySQL?
:
In the option file place this line:
# set datadir to the location of your data directory
datadir=C:\CodeBase\HotelMan\Data
as described in the article.
Or you could create a batch file, which launches your MySQL server with the --datadir option (also in the article).
As far as I can tell from reading the article this will tell MySQL to look for the data in the specified directory.