Unknown option --install

Unknown option --install

am 11.05.2006 03:04:56 von Miles Thompson

I am trying to install two MySQL servers to run as Windows XP services.
One for work with php-gtk+ as mysqld1, MySQL 3.23.55 on port 3306
and another as mysqld2, MySQL 5.0.20 on port 3308 for PHP5 development and
testing.

I'm following the manual's instructions in section 5.13.1.2. Starting
Multiple Windows Servers as Services
found at http://dev.mysql.com/doc/refman/5.0/en/multiple-windows-serv ices.html

The installation of mysqd1 went fine, but I consistently get an error when
trying to install mysqld2, like so:

C:\PROGRA~1\xampp\mysql\bin>mysqld-nt --install mysqld2
--defaults-file=C:/Program Files/xampp/mysql/bin/my_opts5.cnf

Which returns this error:
060510 12:18:34 [ERROR] mysqld-nt: unknown option '--install'

Huh? It's listed as one of the parameters after issuing mysqld-nt --help
--verbose.

More background:
The previous instances of MySQL services have been removed.
Have tried both forward "/" and back "\" slashes in the defaults-file path
Console window has been closed and reopened.
mysql.ini in the \Windows directory has been renamed to mysql.ini.old

Does anyone have any suggestions? They will be most welcome.

Regards - Miles Thompson


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.392 / Virus Database: 268.5.5/335 - Release Date: 5/9/2006



--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=gcdmw-win32@m.gmane.org

RE: Unknown option --install

am 11.05.2006 08:17:10 von JHN

try to put the path to the defaults-file in quotes:
also windows perfer backslash instead of forward-slash

c:mysqld-nt --install mysqld2 --defaults-file=3D"C:\Program =
Files\xampp\mysql\bin\my_opts5.cnf"

in your *.cnf be sure to assign different ports for each server to =
listen on.

Rgds.
Jesper

-----Original Message-----
From: Miles Thompson [mailto:miles@allnovascotia.com]
Sent: 11. maj 2006 03:05
To: win32@lists.mysql.com
Subject: Unknown option --install



I am trying to install two MySQL servers to run as Windows XP services.
One for work with php-gtk+ as mysqld1, MySQL 3.23.55 on port 3306
and another as mysqld2, MySQL 5.0.20 on port 3308 for PHP5 development =
and=20
testing.

I'm following the manual's instructions in section 5.13.1.2. Starting=20
Multiple Windows Servers as Services
found at =
http://dev.mysql.com/doc/refman/5.0/en/multiple-windows-serv ices.html

The installation of mysqd1 went fine, but I consistently get an error =
when=20
trying to install mysqld2, like so:

C:\PROGRA~1\xampp\mysql\bin>mysqld-nt --install mysqld2=20
--defaults-file=3DC:/Program Files/xampp/mysql/bin/my_opts5.cnf

Which returns this error:
060510 12:18:34 [ERROR] mysqld-nt: unknown option '--install'

Huh? It's listed as one of the parameters after issuing mysqld-nt --help =

--verbose.

More background:
The previous instances of MySQL services have been removed.
Have tried both forward "/" and back "\" slashes in the defaults-file =
path
Console window has been closed and reopened.
mysql.ini in the \Windows directory has been renamed to mysql.ini.old

Does anyone have any suggestions? They will be most welcome.

Regards - Miles Thompson=20


--=20
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.392 / Virus Database: 268.5.5/335 - Release Date: 5/9/2006



--=20
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=3Djhn@rtx.dk


--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=3Dgcdmw-win32@m.gmane.org