jkt 06/01/30 22:05:32 Modified: xml/htdocs/doc/en mysql-upgrade-slotted.xml Log: #120210 - more updates for the guide
Revision Changes Path 1.4 +18 -11 xml/htdocs/doc/en/mysql-upgrade-slotted.xml 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 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 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 Index: mysql-upgrade-slotted.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrade-slotted.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- mysql-upgrade-slotted.xml 30 Jan 2006 16:34:23 -0000 1.3 +++ mysql-upgrade-slotted.xml 30 Jan 2006 22:05:32 -0000 1.4 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrade-slotted.xml,v 1.3 2006/01/30 16:34:23 jkt Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrade-slotted.xml,v 1.4 2006/01/30 22:05:32 jkt Exp $ --> <guide link="/doc/en/mysql-upgrade-slotted.xml"> <title>Slotted MySQL Upgrade and Migration Guide</title> @@ -27,7 +27,7 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1</version> +<version>2</version> <date>2006-01-30</date> <chapter> @@ -162,9 +162,9 @@ "skip-grant-tables" ) EOF</i> -# <i>/etc/init.d/mysql-500 start</i> +# <i>/etc/init.d/mysql start</i> # <i>mysql-500 --defaults-file=/etc/mysql-500/my.cnf < BACKUP_MYSQL_4.0.SQL</i> -# <i>/etc/init.d/mysql-500 stop</i> +# <i>/etc/init.d/mysql stop</i> # <i>mv /etc/conf.d/mysql.orig /etc/conf.d/mysql</i> </pre> @@ -203,17 +203,24 @@ </p> <p> +Before you switch to the new MySQL server, you will have to adjust the following +variable inside the <path>/etc/conf.d/mysql</path>. Its value might be empty: +</p> + +<pre caption="Adjusting the mysql_slot_500 variable"> +# <i>nano -w /etc/conf.d/mysql</i> +<comment>(Add the following line:)</comment> +<i>mysql_slot_500=( )</i> +</pre> + +<p> When you're satisfied with the results, remove every test setting, stop the old -server and start the new one. Also, be sure to add -<path>/etc/init.d/mysql</path> to the default runlevel, ensuring it starts at -the next reboot. +server and start the new one: </p> <pre caption="Using the new server"> -# <i>rc-update del mysql default</i> -# <i>rc-update add mysql-500 default</i> -# <i>/etc/init.d/mysql stop</i> -# <i>/etc/init.d/mysql-500 start</i> +# <i>killall mysqld</i> +# <i>/etc/init.d/mysql stop zap start</i> </pre> <p> -- [email protected] mailing list
