Gentoo Archives: gentoo-user

From: Ivan Alden <ivan.alden@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] stuck with Mysql --config
Date: Tue, 06 May 2008 15:22:16
Message-Id: 1210087197.6362.34.camel@localhost
1 Hello,
2
3 I emerged mysql-5.0.54 and when running
4
5 emerge --config =dev-db/mysql-5.0.54
6
7 *
8 * ERROR: dev-db/mysql-5.0.54 failed.
9 * Call stack:
10 * ebuild.sh, line 49: Called pkg_config
11 * environment, line 3312: Called mysql_pkg_config
12 * environment, line 3019: Called die
13 * The specific snippet of code:
14 * die "Failed to run mysql_install_db. Please
15 review /var/log/mysql/mysqld.err AND ${TMPDIR}/mysql_install_db.log";
16 * The die message:
17 * Failed to run mysql_install_db. Please
18 review /var/log/mysql/mysqld.err
19 AND /var/tmp/portage/dev-db/mysql-5.0.54/temp/mysql_install_db.log
20 *
21 * If you need support, post the topmost build error, and the call stack
22 if relevant.
23 * A complete build log is located at
24 '/var/tmp/portage/dev-db/mysql-5.0.54/temp/build.log'.
25 * The ebuild environment file is located at
26 '/var/tmp/portage/dev-db/mysql-5.0.54/temp/environment'.
27 * This ebuild is from an overlay: '/var/db/pkg/'
28 *
29
30 Using the steps for password recovery:
31
32 mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
33 mysql -u root mysql
34
35 I can access but when updating:
36 UPDATE user SET Password=PASSWORD('mypassword') where user='root';
37 Query OK, 0 rows affected (0.05 sec)
38 Rows matched: 0 Changed: 0 Warnings: 0
39
40 I can create a user but I can't seem to get root privileges on it;
41
42 Any information around this would be greatly appreciated.
43
44 Regards.
45
46 --
47 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] stuck with Mysql --config Alan McKinnon <alan.mckinnon@×××××.com>