1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi! |
5 |
|
6 |
About several month ago I got 2 mysql instances (4.xx and 5.xx) running on the same machine. |
7 |
|
8 |
The (very) quick guide: |
9 |
|
10 |
* Emerge, setup, etc mysql in the outer system |
11 |
* setup a chroot with an complete stage3 |
12 |
* chroot into the new one |
13 |
** emerge mysql |
14 |
** setup mysql (use a different ip or at least a different port then the outer system!) |
15 |
** Note: You have to uncomment the "need net" line in the mysql init script, cause the network is already up |
16 |
* Mount /usr/portage/, /dev/, /proc/ with bind in the chroot |
17 |
* Create a fake initscript wich simply invokes the mysql initscript in the chroot |
18 |
** Add this one to the default runlevel |
19 |
|
20 |
I wrote a step-by-step guide, but: Its in german ;) |
21 |
Maybe i find some time to translate it into englisch... |
22 |
|
23 |
|
24 |
br, |
25 |
|
26 |
Johann |
27 |
|
28 |
|
29 |
|
30 |
Kaushal Shriyan schrieb: |
31 |
| Hi |
32 |
| |
33 |
| I am referring to |
34 |
| http://dev.mysql.com/doc/refman/5.0/en/multiple-unix-servers.html to |
35 |
| create multiple instances of MySQL Database Server. I wanted it for |
36 |
| Gentoo Linux |
37 |
| |
38 |
| is there a HowTo for configuring multiple instance of MySQL Database |
39 |
| Server on Gentoo Linux |
40 |
| |
41 |
| Thanks and Regards |
42 |
| |
43 |
| Kaushal |
44 |
|
45 |
- -- |
46 |
Johann Schmitz |
47 |
http://www.j-schmitz.net |
48 |
|
49 |
-----BEGIN PGP SIGNATURE----- |
50 |
Version: GnuPG v2.0.7 (GNU/Linux) |
51 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
52 |
|
53 |
iD8DBQFH8pF+ZsUt7MqpQk0RArADAKCKMNbC1CcCUpWUy1ZJ3w+RBp/7lQCfYB4u |
54 |
jjCYD3I1yUAk/oIGxsDLN5s= |
55 |
=0duh |
56 |
-----END PGP SIGNATURE----- |
57 |
-- |
58 |
gentoo-user@l.g.o mailing list |