3 messages in com.mysql.lists.win32RE: data folder
FromSent OnAttachments
prog...@bardware.de14 Mar 2001 02:58 
Remy14 Mar 2001 03:47 
Luc Van der Veken19 Mar 2001 00:39 
Subject:RE: data folder
From:Luc Van der Veken (luc@wimi.be)
Date:03/19/2001 12:39:44 AM
List:com.mysql.lists.win32

-----Original Message----- From: Remy [mailto:re@vincent.ee]

Hi Have a problem. Installed MySQL server 3.23.33-debug on a win 98 and it works great. Only thing, that it looses it's data folder location. When I start the server, it finds my database, but i I try again in 5 minute it is lookind for my database for a complete different folder....? What is the problem.

This can be caused by placing your options in c:\my.cnf and then later running winmysqladmin: it renames my.cnf to my_cnf.bak and starts using a \windows\my.ini file instead, without taking over the options that were already specified in my.cnf.

Put the options in my.ini instead if you intend to use winmysqladmin (using the same syntax as in my.cnf).

There is something weird about this though: your config options list the default paths, so it shouldn't even be necessary to specify them.

[mysqld] basedir=C:/MYSQL #bind-address=192.168.12.5 datadir=C:/MYSQL/data #language=C:/MYSQL/share/your language directory #slow query log#= #tmpdir#= #port=3306 #set-variable=key_buffer=16M