OK.  I Unmerged and re-emerged mysql. 

# /etc/init.d/mysql stop
# emerge -C mysql
# tar cjpvf ~/mysql.$(date +%F"T"%H-%M).tar.bz2 /etc/mysql/my.cnf
/var/lib/mysql/
# ls -l ~/mysql.*
# rm -rf /var/lib/mysql/ /var/log/mysql
========================================
# emerge -av dev-db/mysql

It completed installing/compiling then..

# emerge --config =dev-db/mysql-5.0.32

Configuring pkg...

 * MySQL DATADIR is /var/lib/mysql
 * Previous datadir found, it's YOUR job to change
 * ownership and take care of it
 * Creating the mysql database and setting proper
 * permissions on it ...
 * Insert a password for the mysql 'root' user
 * Avoid ["'\_%] characters in the password
    >
 * Retype the password
    >

!!! ERROR: dev-db/mysql-5.0.32 failed.
Call stack:
  ebuild.sh, line 1527:   Called pkg_config
  ebuild.sh, line 1255:   Called mysql_pkg_config
  mysql.eclass, line 805:   Called die

!!! MySQL databases not installed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

# /etc/init.d/mysql start
 * Starting mysql...
 * Starting mysql (/etc/mysql/my.cnf)
 * MySQL NOT started (0)

Any ideas?

-----Original Message-----
From: Dan Farrell [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 18, 2007 9:08 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mysql start issues

On Sat, 17 Mar 2007 13:11:54 -0500
"Richard Torres" <[EMAIL PROTECTED]> wrote:

> Hello, 
> 
> I'm having a trouble starting mysql since I emerged the newer version.
> 'mysqld.sock' doesn't exist and the logs aren't much help. Any help is
> greatly appreciated.
> 
>  
> 
> -Richard
> 
>  
> 
> # mysql
> 
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
> 
>  
> 
> # /etc/init.d/mysql start
> 
>  * Starting mysql...
> 
>  * Starting mysql (/etc/mysql/my.cnf)
> 
>  * MySQL NOT started (0)
> 
I had the same problem and my solution was found at :
http://www.gentoo.org/doc/en/mysql-upgrading.xml
.....but I never did get my password-encoded columns back.  

good luck!
-- 
gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list

Reply via email to