Thursday 11 September 2003 10:28:32 am
(it's more complicated in real life, as usual.) AFAIK, mysql doesn't store runtime configuration settings in the windows registry; when the server starts, it looks for a unix style configuration text file (in this order):
C:\%windowsdir%\my.ini C:\my.cnf so, what's probably happening at the moment is that your development server finds the ez publish configuration file. configuration settings that affect your situation are: `-h' or `--datadir=path'; tells the server where the databases are. `-b' or `--basedir=path'; tells the server where to start looking for other files it needs. these settings can be supplied on the command line when you (or a windows shortcut or service) start the mysql server, or stored in one of the above configuration files. you can also specify a configuration file to use when you start the server. example configuration files are in the mysql directory. type `mysqld -?' on the command line in a mysql\bin directory for available options, and to see what the current configuration for the server is. and last but not least: windows explorer (w2k file manager) seems to think my C:\my.cnf is a file of type 'SpeedDial', and that it isn't necessary to show the `.cnf' extension. it won't connect to a pornsite, though, but actually is the mysql configuration file (`dir' on the command line shows the .cnf extension). hth, jeroen.
|