Can"t specify "--defaults-file" on Windows

Can"t specify "--defaults-file" on Windows

am 02.12.2009 20:24:20 von mos

I'm trying to explicitly specify the location of the my.ini file on Windows XP

I'm using:
u:\mysql5.1\bin\mysqld --install --defaults-file="u:\\mysql5.1\\my.ini"

and it complains "Failed to install the service (Couldn't create service)"

I've tried "/" and "\" and "\\" but nothing seems to fix it. I can remove
the --install-defaults-file option and MySQL loads as a service just fine.
It just won't take this option. The My.Ini file is indeed in this directory.

Can anyone shed some light onto what I'm doing wrong?

TIA
Mike


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org