Gentoo Archives: gentoo-doc-cvs

From: Jan Kundrat <jkt@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: mysql-upgrade-slotted.xml
Date: Mon, 30 Jan 2006 22:05:53
Message-Id: 200601302205.k0UM5X1A016569@robin.gentoo.org
1 jkt 06/01/30 22:05:32
2
3 Modified: xml/htdocs/doc/en mysql-upgrade-slotted.xml
4 Log:
5 #120210 - more updates for the guide
6
7 Revision Changes Path
8 1.4 +18 -11 xml/htdocs/doc/en/mysql-upgrade-slotted.xml
9
10 file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-upgrade-slotted.xml?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=gentoo
11 plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-upgrade-slotted.xml?rev=1.4&content-type=text/plain&cvsroot=gentoo
12 diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/mysql-upgrade-slotted.xml.diff?r1=1.3&r2=1.4&cvsroot=gentoo
13
14 Index: mysql-upgrade-slotted.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrade-slotted.xml,v
17 retrieving revision 1.3
18 retrieving revision 1.4
19 diff -u -r1.3 -r1.4
20 --- mysql-upgrade-slotted.xml 30 Jan 2006 16:34:23 -0000 1.3
21 +++ mysql-upgrade-slotted.xml 30 Jan 2006 22:05:32 -0000 1.4
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrade-slotted.xml,v 1.3 2006/01/30 16:34:23 jkt Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrade-slotted.xml,v 1.4 2006/01/30 22:05:32 jkt Exp $ -->
27
28 <guide link="/doc/en/mysql-upgrade-slotted.xml">
29 <title>Slotted MySQL Upgrade and Migration Guide</title>
30 @@ -27,7 +27,7 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>1</version>
35 +<version>2</version>
36 <date>2006-01-30</date>
37
38 <chapter>
39 @@ -162,9 +162,9 @@
40 "skip-grant-tables"
41 )
42 EOF</i>
43 -# <i>/etc/init.d/mysql-500 start</i>
44 +# <i>/etc/init.d/mysql start</i>
45 # <i>mysql-500 --defaults-file=/etc/mysql-500/my.cnf &lt; BACKUP_MYSQL_4.0.SQL</i>
46 -# <i>/etc/init.d/mysql-500 stop</i>
47 +# <i>/etc/init.d/mysql stop</i>
48 # <i>mv /etc/conf.d/mysql.orig /etc/conf.d/mysql</i>
49 </pre>
50
51 @@ -203,17 +203,24 @@
52 </p>
53
54 <p>
55 +Before you switch to the new MySQL server, you will have to adjust the following
56 +variable inside the <path>/etc/conf.d/mysql</path>. Its value might be empty:
57 +</p>
58 +
59 +<pre caption="Adjusting the mysql_slot_500 variable">
60 +# <i>nano -w /etc/conf.d/mysql</i>
61 +<comment>(Add the following line:)</comment>
62 +<i>mysql_slot_500=( )</i>
63 +</pre>
64 +
65 +<p>
66 When you're satisfied with the results, remove every test setting, stop the old
67 -server and start the new one. Also, be sure to add
68 -<path>/etc/init.d/mysql</path> to the default runlevel, ensuring it starts at
69 -the next reboot.
70 +server and start the new one:
71 </p>
72
73 <pre caption="Using the new server">
74 -# <i>rc-update del mysql default</i>
75 -# <i>rc-update add mysql-500 default</i>
76 -# <i>/etc/init.d/mysql stop</i>
77 -# <i>/etc/init.d/mysql-500 start</i>
78 +# <i>killall mysqld</i>
79 +# <i>/etc/init.d/mysql stop zap start</i>
80 </pre>
81
82 <p>
83
84
85
86 --
87 gentoo-doc-cvs@g.o mailing list