Re: Multiples instances of MySQL

2002-01-01 Thread Heikki Tuuri
t; >Subject: Re: Multiples instances of MySQL > >Hi! > >You could try the following: make Windows batch files where you give all options to mysqld-max.exe on the command line: > >instance1.bat: > >mysqld-max --port=3306 --socket=... --datadir=... --basedir=...

RE: Multiples instances of MySQL

2001-12-31 Thread Emmanuel van der Meulen
> Sent: 31 December 2001 16:34 > To: Emmanuel van der Meulen > Cc: MySQL General List > Subject: RE: Multiples instances of MySQL > > > On Mon, 2001-12-31 at 14:01, Emmanuel van der Meulen wrote: > > Hello Martin, > > > > [snip] > > > Ok. Try to

RE: Multiples instances of MySQL

2001-12-31 Thread Martin Waite
On Mon, 2001-12-31 at 14:01, Emmanuel van der Meulen wrote: > Hello Martin, > > [snip] > > Ok. Try to explicitly set the host on the command line: > > > > eg: mysqladmin -h 127.0.0.1 -P 2000 . > > > > > > Note that you should use the ip address of your host or its network > > name. Using '

RE: Multiples instances of MySQL

2001-12-31 Thread Emmanuel van der Meulen
Hello Martin, [snip] > Ok. Try to explicitly set the host on the command line: > > eg: mysqladmin -h 127.0.0.1 -P 2000 . > > > Note that you should use the ip address of your host or its network > name. Using 'localhost' won't do what you want. I include commands of two instances which I

Re: Multiples instances of MySQL

2001-12-31 Thread Martin Waite
On Mon, 2001-12-31 at 10:50, Emmanuel van der Meulen wrote: > > As suggested, I used -S instead of -P, but still the first instance shuts > down. > > I'm running on Win2K Pro. Is there a different way for Windows? > > Please advise any further pointers? > Ok. Try to explicitly set the host

Re: Multiples instances of MySQL

2001-12-31 Thread Emmanuel van der Meulen
Hello Sammy & Martin, Thank you for your notes and assistance. ** Martin; > Try using the -S option to select the instance via the Unix domain > socket rather than the port number (assuming this is a Unix > installation). ** Sammy; > use --socket instead of -P would solve your problem. > > with

Re: Multiples instances of MySQL

2001-12-31 Thread Sammy Lau
use --socket instead of -P would solve your problem. without -h, socket file is used for connection. since you've not specified the socket file, the default socket file path is used (in some case, /tmp/mysql.sock). that's why you're always shutting down the first one. Happy new year. On Mon,

Re: Multiples instances of MySQL

2001-12-31 Thread Martin Waite
On Mon, 2001-12-31 at 10:08, Emmanuel van der Meulen wrote: > Hello all, > > I'm in a spot, I'm managing to successfully run several instances of MySQL, > say on port=3306 and port=3308. > > When I use shutdown, the instance which started first shuts down. > > To shutdown the instance started o

Re: Multiples instances of MySQL

2001-12-31 Thread Emmanuel van der Meulen
Hello all, I'm in a spot, I'm managing to successfully run several instances of MySQL, say on port=3306 and port=3308. When I use shutdown, the instance which started first shuts down. To shutdown the instance started on port 3306, I use; mysqladmin -P 3306 -u root -p2000 shutdown And to shutd

Re: Multiples instances of MySQL

2001-12-30 Thread Emmanuel van der Meulen
Hello Heikki, Note, this is a duplicate posting - erroneously posted against 'General database questions'. Thank you very much for this note and your valued assistance. I have the different instances of MySQL running with your proposal to add the lot to a bat file. And yes, if such a option as

Re: Multiples instances of MySQL

2001-12-30 Thread Heikki Tuuri
Hi! You could try the following: make Windows batch files where you give all options to mysqld-max.exe on the command line: instance1.bat: mysqld-max --port=3306 --socket=... --datadir=... --basedir=... --innodb_data_home_dir=... --set-variable=innodb_buffer_pool_size=30M ... instance2.bat: m

Re: Multiples instances of MySQL

2001-12-30 Thread Emmanuel van der Meulen
Hello Tony, Thank you for your note and assistance. However, I'm stuck on a particular point; I use Win2k Pro; struggling with 3rd option below, 'server-specific options', for multiple instances; MySQL does not see the \mysql\data\my.cnf options file, for some reason it only sees c:\winnt\my.i

Re: Multiples instances of MySQL

2001-12-30 Thread Tony Buckley
See manual section 4.1.4. - Original Message - From: "Emmanuel van der Meulen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 30, 2001 9:47 AM Subject: Multiples instances of MySQL > Hello all, > > Could someone please advise, what is the procedure to start and ru