From: Neil Hodges <kenji.malist@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Weird mysql problem.
Date: Tue, 24 Oct 2006 14:25:17 -0700 [thread overview]
Message-ID: <20061024212517.GB11738@hsd1> (raw)
In-Reply-To: <7e7f5e710610241114i31c8af73v22f7c411d4b770b7@mail.gmail.com>
Hello,
This problem is well-known, and present in the bugzilla. The problem
lies in MySQL 5.0.26-r1, and many threads in the forums have been spawned.
- Neil
On 14:14 Tue 24 Oct , A. R. wrote:
> Hi,
>
> I am running Gentoo ~amd64 and I recently upgraded MySQL from
> 5.0.26 to 5.0.26-r1 and things are not working anymore (for example mythtv).
>
> After spending a great deal of time looking at logs, changing
> configuration files (namely, my.cnf), installing and de-installing
> MySQL, I still cannot get any programs to connect to mysql, including
> "mysql_secure_installation" which outputs the following error message:
>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> ''/var/run/mysqld/mysqld.sock'' (2)
>
> But, here is the thing, the socket and pid file values in
> /etc/mysql/my.cnf are set to the following:
>
> [client]
> socket = /tmp/mysqld.sock
> .
> .
> [mysqld]
> socket = /tmp/mysqld.sock
> pid-file = /tmp/mysqld.pid
>
>
>
> And, after re-starting the MySQL process (/etc/init.d/mysql restart) I
> list the processes and find that the mysqld daemon has indeed been
> passed the correct configuration values.
>
> mysql 24056 1 0 11:20 ? 00:00:00 /usr/sbin/mysqld
> --defaults-file=/etc/mysql/my.cnf --basedir=/usr
> --datadir=/storage/mysql-db --pid-file=/tmp/mysqld.pid
> --socket=/tmp/mysqld.sock
>
>
> Could someone please help?
> I know I am running ~arch and that this is perhaps "part of the game"
> in doing that, but maybe it can be easily fixed...
>
> Thank you,
>
> - AR
>
> --
> If you stare long enough into an abyss, the abyss will stare back into
> you...
> --
> gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2006-10-24 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-24 18:14 [gentoo-user] Weird mysql problem A. R.
2006-10-24 21:25 ` Neil Hodges [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061024212517.GB11738@hsd1 \
--to=kenji.malist@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox