<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 12 January 2018 at 16:46, Kevin O'Gorman <span dir="ltr"><<a href="mailto:kogorman@gmail.com" target="_blank">kogorman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>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" target="_blank">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="gmail-m_-1050857987868524087HOEnZb"><font color="#888888">Volker<br>
</font></span><div class="gmail-m_-1050857987868524087HOEnZb"><div class="gmail-m_-1050857987868524087h5"><br></div></div></blockquote><div><br></div></span>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></div></div></blockquote><div><br></div><div>I believe you should be able to pass the option to mysqld_safe and it will be passed to mysqld</div><div><a href="https://dev.mysql.com/doc/refman/5.7/en/mysqld-safe.html">https://dev.mysql.com/doc/refman/5.7/en/mysqld-safe.html</a><br></div><div><br></div><div>Colin<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"></div><span class="gmail-"><br clear="all"><br>-- <br><div class="gmail-m_-1050857987868524087gmail_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 width="448" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="25"><img width="25" height="21"></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>
</span></div></div>
<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br></div></div>