Gentoo Archives: gentoo-user

From: Richard Torres <rtorres827@×××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] mysql start issues
Date: Mon, 19 Mar 2007 06:27:13
Message-Id: 000301c769ee$ec060960$0211030a@TALBOTGW
In Reply to: Re: [gentoo-user] mysql start issues by Dan Farrell
1 OK. I Unmerged and re-emerged mysql.
2
3 # /etc/init.d/mysql stop
4 # emerge -C mysql
5 # tar cjpvf ~/mysql.$(date +%F"T"%H-%M).tar.bz2 /etc/mysql/my.cnf
6 /var/lib/mysql/
7 # ls -l ~/mysql.*
8 # rm -rf /var/lib/mysql/ /var/log/mysql
9 ========================================
10 # emerge -av dev-db/mysql
11
12 It completed installing/compiling then..
13
14 # emerge --config =dev-db/mysql-5.0.32
15
16 Configuring pkg...
17
18 * MySQL DATADIR is /var/lib/mysql
19 * Previous datadir found, it's YOUR job to change
20 * ownership and take care of it
21 * Creating the mysql database and setting proper
22 * permissions on it ...
23 * Insert a password for the mysql 'root' user
24 * Avoid ["'\_%] characters in the password
25 >
26 * Retype the password
27 >
28
29 !!! ERROR: dev-db/mysql-5.0.32 failed.
30 Call stack:
31 ebuild.sh, line 1527: Called pkg_config
32 ebuild.sh, line 1255: Called mysql_pkg_config
33 mysql.eclass, line 805: Called die
34
35 !!! MySQL databases not installed
36 !!! If you need support, post the topmost build error, and the call stack if
37 relevant.
38
39 # /etc/init.d/mysql start
40 * Starting mysql...
41 * Starting mysql (/etc/mysql/my.cnf)
42 * MySQL NOT started (0)
43
44 Any ideas?
45
46 -----Original Message-----
47 From: Dan Farrell [mailto:dan@×××××××××.cx]
48 Sent: Sunday, March 18, 2007 9:08 AM
49 To: gentoo-user@l.g.o
50 Subject: Re: [gentoo-user] mysql start issues
51
52 On Sat, 17 Mar 2007 13:11:54 -0500
53 "Richard Torres" <rtorres827@×××××.com> wrote:
54
55 > Hello,
56 >
57 > I'm having a trouble starting mysql since I emerged the newer version.
58 > 'mysqld.sock' doesn't exist and the logs aren't much help. Any help is
59 > greatly appreciated.
60 >
61 >
62 >
63 > -Richard
64 >
65 >
66 >
67 > # mysql
68 >
69 > ERROR 2002 (HY000): Can't connect to local MySQL server through socket
70 > '/var/run/mysqld/mysqld.sock' (2)
71 >
72 >
73 >
74 > # /etc/init.d/mysql start
75 >
76 > * Starting mysql...
77 >
78 > * Starting mysql (/etc/mysql/my.cnf)
79 >
80 > * MySQL NOT started (0)
81 >
82 I had the same problem and my solution was found at :
83 http://www.gentoo.org/doc/en/mysql-upgrading.xml
84 .....but I never did get my password-encoded columns back.
85
86 good luck!
87 --
88 gentoo-user@g.o mailing list
89
90 --
91 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] mysql start issues Francisco Rivas <taken2k4@×××××.com>
Re: [gentoo-user] mysql start issues Dan Farrell <dan@×××××××××.cx>