![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello folks I need to run multiple instances of MySQL 5.1 server (run as service, database type is InnoDB) on the same windows computer (Windows Server 2008). I have been using this resource: http://dev.mysql.com/doc/refman/5.1/...d-cmdline.html |
#3
| |||
| |||
|
|
In article <d75e21c9-8a49-4a79-aee5-9f8327921... (AT) g1g2000vbd (DOT) googlegroups.com>, Why do you believe you need to run multiple instances? What problem are you trying to solve, for which you think that is the solution? A single instance of the server can easily serve multiple databases to multiple users. Cheers Tony -- Tony Mountifield Work: t... (AT) softins (DOT) co.uk -http://www.softins.co.uk Play: t... (AT) mountifield (DOT) org -http://tony.mountifield.org |
#4
| |||
| |||
|
|
On 7 Nov, 12:24, t... (AT) mountifield (DOT) org (Tony Mountifield) wrote: In article <d75e21c9-8a49-4a79-aee5-9f8327921... (AT) g1g2000vbd (DOT) googlegroups.com>, Why do you believe you need to run multiple instances? What problem are you trying to solve, for which you think that is the solution? A single instance of the server can easily serve multiple databases to multiple users. Cheers Tony Hello Tony Well, the amount of clients is expected to be so hight that some resources might be exhausted. In particular number of connections (amount of concurrent sessions) might be over 2000. It seems safer to have the option of having 2 or 3 instances of MySql server and letting different groups of client programs use different service instances. |
#5
| |||||
| |||||
|
|
I need to run multiple instances of MySQL 5.1 server (run as service, database type is InnoDB) on the same windows computer (Windows Server 2008). |
|
the amount of clients is expected to be so hight that some resources might be exhausted. In particular number of connections (amount of concurrent sessions) might be over 2000. |
|
It seems safer to have the option of having 2 or 3 instances of MySql server and letting different groups of client programs use different service instances. |
|
I still have a couple of things I do not understand: 1. What's the deal with ibdata1 file? Is this all right if it is shared by all the instances? Or shall I point to a separate file for each instance in the corresponding ini file? |
|
2. To be able to have multiple instances of the service I intend to run bat scripts (containing different values for port, service name, ini file name, etc) to configure each instance. |
#6
| ||||||
| ||||||
|
|
I need to run multiple instances of MySQL 5.1 server (run as service, database type is InnoDB) on the same windows computer (Windows Server 2008). I have been using this resource: http://dev.mysql.com/doc/refman/5.1/...d-cmdline.html |
|
I still have a couple of things I do not understand: 1. What's the deal with ibdata1 file? Is this all right if it is |
|
shared by all the instances? Or shall I point to a separate file for each instance in the corresponding ini file? |
|
For example sharing the datadir folder between instances is said to be a bad idea. |
|
2. To be able to have multiple instances of the service I intend to run bat scripts (containing different values for port, service name, ini file name, etc) to configure each instance. |
|
Among other things I create a separate ini file for each instance. The challenge is to find an argument for MySQLInstanceConfig.exe that will set the "datadir" path in the ini file. It cannot be the case that one has to edit each ini file manually after MySQLInstanceConfig.exe has created them, can it? |
![]() |
| Thread Tools | |
| Display Modes | |
| |