Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78525 Details for
Bug 120210
Migration to slotted MySQL initial document
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
rephrased vivo's proposal
mysql.patch (text/plain), 1.79 KB, created by
Jan Kundrát (RETIRED)
on 2006-01-30 14:01:00 UTC
(
hide
)
Description:
rephrased vivo's proposal
Filename:
MIME Type:
Creator:
Jan Kundrát (RETIRED)
Created:
2006-01-30 14:01:00 UTC
Size:
1.79 KB
patch
obsolete
>Index: doc/en/mysql-upgrade-slotted.xml >=================================================================== >RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/mysql-upgrade-slotted.xml,v >retrieving revision 1.3 >diff -u -b -B -r1.3 mysql-upgrade-slotted.xml >--- doc/en/mysql-upgrade-slotted.xml 30 Jan 2006 16:34:23 -0000 1.3 >+++ doc/en/mysql-upgrade-slotted.xml 30 Jan 2006 21:59:53 -0000 >@@ -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>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 120210
:
78019
|
78040
|
78470
|
78471
|
78478
|
78479
|
78523
| 78525