<div dir="ltr">Look for an option called "socket" in your my.cnf which will point you to the correct location of the socket file.</div><div class="gmail_extra"><br><div class="gmail_quote">On 2 November 2015 at 22:20, Kyle Robertson <span dir="ltr"><<a href="mailto:kyle@wei.com" target="_blank">kyle@wei.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello Everybody!<div><br></div><div>I am experimenting with a small Openstack cloud, and I have encountered a problem on multiple occasions where the MySQL database on one of my controllers fails to purge old mysql-bin.$NUMBER binary log files. These log files (among others) end up completely filling the root OS directory, causing any writes to the database to fail. I cannot log into mysql to purge the log files due to the following error: </div><div><br></div><div>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)</div><div><br></div><div>I have checked, and the socket file definitely does not exist. I can remove the logs by hand, but any attempts to restart the database afterwards fail due to the above error. Has anybody encountered this problem before and could anybody point me towards a solution?</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>Kyle Robertson</div><div>Cloud Architecture Intern</div><div><a href="mailto:kyle@wei.com" target="_blank">kyle@wei.com</a></div><div>603-566-4761</div><div><br></div><div><br></div></div><br></div><br><br>
</div>
<br></div></font></span></div><br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">You can't be normal and expect abnormal returns - Jeffrey Pfeffer<br>------------------------------------------<br><a href="http://code.deepinspace.net" target="_blank">http://code.deepinspace.net</a><br>------------------------------------------</div>
</div>