Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 120210 | Differences between
and this patch

Collapse All | Expand All

(-)mysql-upgrade-slotted.xml.orig (-9 / +7 lines)
Lines 162-170 Link Here
162
    "skip-grant-tables"
162
    "skip-grant-tables"
163
  )
163
  )
164
  EOF</i>
164
  EOF</i>
165
# <i>/etc/init.d/mysql-500 start</i>
165
# <i>/etc/init.d/mysql start</i>
166
# <i>mysql-500 --defaults-file=/etc/mysql-500/my.cnf &lt; BACKUP_MYSQL_4.0.SQL</i>
166
# <i>mysql-500 --defaults-file=/etc/mysql-500/my.cnf &lt; BACKUP_MYSQL_4.0.SQL</i>
167
# <i>/etc/init.d/mysql-500 stop</i>
167
# <i>/etc/init.d/mysql stop</i>
168
# <i>mv /etc/conf.d/mysql.orig /etc/conf.d/mysql</i>
168
# <i>mv /etc/conf.d/mysql.orig /etc/conf.d/mysql</i>
169
</pre>
169
</pre>
170
170
Lines 204-219 Link Here
204
204
205
<p>
205
<p>
206
When you're satisfied with the results, remove every test setting, stop the old
206
When you're satisfied with the results, remove every test setting, stop the old
207
server and start the new one. Also, be sure to add
207
server and start the new one. Also, be sure to add at least an empty variable
208
<path>/etc/init.d/mysql</path> to the default runlevel, ensuring it starts at
208
inside your <path>/etc/conf.d/mysql</path> similarly at what done before:
209
the next reboot.
209
<b>"mysql_slot_500=( )"</b>
210
</p>
210
</p>
211
211
212
<pre caption="Using the new server">
212
<pre caption="Using the new server">
213
# <i>rc-update del mysql default</i>
213
# <i>killall mysqld</i>
214
# <i>rc-update add mysql-500 default</i>
214
# <i>/etc/init.d/mysql stop zap start</i>
215
# <i>/etc/init.d/mysql stop</i>
216
# <i>/etc/init.d/mysql-500 start</i>
217
</pre>
215
</pre>
218
216
219
<p>
217
<p>

Return to bug 120210