Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

[gentoo-user] stuck with Mysql --config

Ivan Alden

2008-05-06

Replies:

Author LoginPost Reply
Hello,

I emerged mysql-5.0.54 and when running

emerge --config =dev-db/mysql-5.0.54

*
* ERROR: dev-db/mysql-5.0.54 failed.
* Call stack:
*          ebuild.sh, line  49: Called pkg_config
*         environment, line 3312: Called mysql_pkg_config
*         environment, line 3019: Called die
* The specific snippet of code:
*       die "Failed to run mysql_install_db. Please
review /var/log/mysql/mysqld.err AND ${TMPDIR}/mysql_install_db.log";
* The die message:
*  Failed to run mysql_install_db. Please
review /var/log/mysql/mysqld.err
AND /var/tmp/portage/dev-db/mysql-5.0.54/temp/mysql_install_db.log
*
* If you need support, post the topmost build error, and the call stack
if relevant.
* A complete build log is located at
'/var/tmp/portage/dev-db/mysql-5.0.54/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-db/mysql-5.0.54/temp/environment'.
* This ebuild is from an overlay: '/var/db/pkg/'
*

Using the steps for password recovery:

mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
mysql -u root mysql

I can access but when updating:
UPDATE user SET Password=PASSWORD('mypassword') where user='root';
Query OK, 0 rows affected (0.05 sec)
Rows matched: 0 Changed: 0 Warnings: 0

I can create a user but I can't seem to get root privileges on it;

Any information around this would be greatly appreciated.

Regards.

--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.