<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 12, 2018 at 7:22 AM, Volker Wysk <span dir="ltr"><<a href="mailto:post@volker-wysk.de" target="_blank">post@volker-wysk.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Am Freitag, 12. Januar 2018, 09:08:22 CET schrieb Wade Smart:<br>
> On Fri, Jan 12, 2018 at 9:03 AM, Kevin O'Gorman <<a href="mailto:kogorman@gmail.com">kogorman@gmail.com</a>> wrote:<br>
><br>
> > I need to start and stop mysql, and I've only figured out how to stop it.<br>
> > I need to start it (not rebooting) so that I can temporarily use different<br>
> > options. In my case, I need --skip-grant-tables.<br>
<br>
</span>> sudo service mysql start<br>
<br>
This just starts mysql the normal way. But the OP said, that he needs to start it temporarily with self specified options.<br>
<br>
The following is how mysql is normally started (this is taken from /etc/init.d/mysql):<br>
<br>
# Start MySQL!<br>
su - mysql -s /bin/sh -c "/usr/bin/mysqld_safe > /dev/null 2>&1 &"<br>
<br>
So the OP could use this, modify it as needed.<br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Volker<br>
</font></span><div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div>Thanks. Useful, I hope, but SHEESH! that mysqld_safe is over 1,000 lines of code. I'll figure out how to use and modify it somehow....<br></div><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Kevin O'Gorman<br></div>#define QUESTION ((bb) || (!bb)) /* Shakespeare */<br><br><div><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"><span style="line-height:normal;font-variant:normal;font-size:10pt;font-style:normal;font-weight:normal"></span></span><table cellspacing="0" cellpadding="0" border="0" width="448"><tbody><tr><td width="25"><img src="cid:XVHDKDFDBURW.IMAGE_60.gif" height="21" width="25"></td>
<td width="423"><span style="FONT-FAMILY:Verdana,Geneva,sans-serif;COLOR:rgb(0,153,0);MARGIN-LEFT:5px;FONT-SIZE:10px">Please consider the environment before printing this email.</span></td></tr></tbody></table><br></div></div></div>
</div></div>