[Openstack-operators] MySQL Binary Log Overflow

Hrishikesh Barua talonx at gmail.com
Thu Nov 5 04:17:49 UTC 2015


Look for an option called "socket" in your my.cnf which will point you to
the correct location of the socket file.

On 2 November 2015 at 22:20, Kyle Robertson <kyle at wei.com> wrote:

> Hello Everybody!
>
> 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:
>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
>
> 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?
>
> Thanks!
>
> Kyle Robertson
> Cloud Architecture Intern
> kyle at wei.com
> 603-566-4761
>
>
>
>
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>


-- 
You can't be normal and expect abnormal returns - Jeffrey Pfeffer
------------------------------------------
http://code.deepinspace.net
------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20151105/4f0be568/attachment.html>


More information about the OpenStack-operators mailing list