Re: Multiples instances of MySQL

2002-01-01 Thread Heikki Tuuri
: 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=... --innodb_data_home_dir=... --set-variable=innodb_buffer_pool_size=30M

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

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 on port

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 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. without

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 on the

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 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 'localhost' won't

Multiples instances of MySQL

2001-12-30 Thread Emmanuel van der Meulen
Hello all, Could someone please advise, what is the procedure to start and run more than one instance of MySQL? Kind regards Emmanuel - Before posting, please check: http://www.mysql.com/manual.php (the manual)

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 run more

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

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:

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