RE: Unknown option --install

Jesper Hørup <[email protected]>
Newsgroups gmane.comp.db.mysql.windows
Message-ID <[email protected]>
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="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:[email protected]]
Sent: 11. maj 2006 03:05
To: [email protected]
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 
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-services.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/[email protected]


-- 
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.