Gentoo Archives: gentoo-user

From: "A. Khattri" <ajai@××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ... Can't connect to local MySQL server ...
Date: Sun, 05 Feb 2006 00:39:50
Message-Id: Pine.BSO.4.58.0602041917170.24209@ida.bway.net
In Reply to: [gentoo-user] ... Can't connect to local MySQL server ... by Fredrik Lundgren
1 On Sun, 5 Feb 2006, Fredrik Lundgren wrote:
2
3 > When I try to visit with
4 > $ mysql -u root -p
5 > password. *******
6 >
7 > I get
8 > ERROR 2002 (HY000): Can't connect to local MySQL server through socket
9 > 'var/run/mysqld.sock' (2)
10 >
11 > Evidently my configuration is wrong
12 >
13 > Has anyone a tip or two ?
14
15 Maybe start mysqld?
16
17 /etc/init.d/mysql start
18
19 > and how do I get mysql to start at boot?
20
21 Maybe use rc-update?
22
23 rc-update add mysql default
24
25
26 (Yes, its in the handbook)
27
28 --
29
30 --
31 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] ... Can't connect to local MySQL server ... John Jolet <john@×××××.net>