Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   stuck with Mysql --config (http://www.linux-archive.org/gentoo-user/83064-stuck-mysql-config.html)

Ivan Alden 05-06-2008 03:19 PM

stuck with Mysql --config
 
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@lists.gentoo.org mailing list


All times are GMT. The time now is 09:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.