From: "A. R." <feoymalo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Weird mysql problem.
Date: Tue, 24 Oct 2006 14:14:10 -0400 [thread overview]
Message-ID: <7e7f5e710610241114i31c8af73v22f7c411d4b770b7@mail.gmail.com> (raw)
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
next reply other threads:[~2006-10-24 18:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-24 18:14 A. R. [this message]
2006-10-24 21:25 ` [gentoo-user] Weird mysql problem Neil Hodges
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=7e7f5e710610241114i31c8af73v22f7c411d4b770b7@mail.gmail.com \
--to=feoymalo@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