Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --config mysql fails -- but mysql starts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 340
Location: Lancaster, PA

PostPosted: Mon Dec 10, 2012 3:40 pm    Post subject: emerge --config mysql fails -- but mysql starts Reply with quote

I just did a clean install of a new system, and I ran into something strange when configuring mysql. I typed:

Code:
emerge --config =dev-db/mysql-5.1.66


And the output was:

Code:
Configuring pkg...

 * Please provide a password for the mysql 'root' user now, in the
 * MYSQL_ROOT_PASSWORD env var or through the /root/.my.cnf file.
 * Avoid ["'\_%] characters in the password
    >
 * Retype the password
    >
 * Command: '/usr/bin/mysql_install_db' '--basedir=/usr' --log-warnings=0 --loose-skip-grant-tables --loose-skip-host-cache --loose-skip-name-resolve --loose-skip-networking --loose-skip-slave-start --loose-skip-innodb --loose-skip-ssl --loose-skip-log-bin --loose-skip-relay-log --loose-skip-slow-query-log --loose-skip-external-locking --loose-skip-log-slave-updates --user=mysql
 * Creating the mysql database and setting proper
 * permissions on it ...
 * Starting mysqld ...
 * Command //usr/sbin/mysqld            --log-warnings=0 --loose-skip-grant-tables --loose-skip-host-cache --loose-skip-name-resolve --loose-skip-networking --loose-skip-slave-start --loose-skip-innodb --loose-skip-ssl --loose-skip-log-bin --loose-skip-relay-log --loose-skip-slow-query-log --loose-skip-external-locking --loose-skip-log-slave-updates --user=mysql            --user=mysql           --log-warnings=0                 --basedir=//usr                 --datadir=///var/lib/mysql              --max_allowed_packet=8M                 --net_buffer_length=16K                 --default-storage-engine=MyISAM                 --socket=//var/run/mysqld/mysqld11304.sock              --pid-file=//var/run/mysqld/mysqld10591.pid                                                                     [ ok ].........
 * ERROR: dev-db/mysql-5.1.66 failed (config phase):
 *   Completely failed to start up mysqld with: //usr/sbin/mysqld              --log-warnings=0 --loose-skip-grant-tables --loose-skip-host-cache --loose-skip-name-resolve --loose-skip-networking --loose-skip-slave-start --loose-skip-innodb --loose-skip-ssl --loose-skip-log-bin --loose-skip-relay-log --loose-skip-slow-query-log --loose-skip-external-locking --loose-skip-log-slave-updates --user=mysql             --user=mysql            --log-warnings=0                --basedir=//usr                 --datadir=///var/lib/mysql              --max_allowed_packet=8M                 --net_buffer_length=16K                 --default-storage-engine=MyISAM                 --socket=//var/run/mysqld/mysqld11304.sock     --pid-file=//var/run/mysqld/mysqld10591.pid
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called pkg_config
 *   environment, line 3975:  Called mysql-v2_pkg_config
 *   environment, line 3638:  Called die
 * The specific snippet of code:
 *           die "Completely failed to start up mysqld with: ${mysqld}";
 *
 * If you need support, post the output of `emerge --info '=dev-db/mysql-5.1.66'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mysql-5.1.66'`.
 * This ebuild is from an overlay named 'gentoo': '/var/db/pkg/'
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.1.66/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.1.66/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mysql-5.1.66'
 * S: '/var/tmp/portage/dev-db/mysql-5.1.66/work/mysql-5.1.66'


But when I just typed:

Code:
/etc/init.d/mysql start


It started fine. What's going on here?
_________________
Alex Zorach | Teacology | RateTea | Why This Way
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Tue Dec 11, 2012 11:32 pm    Post subject: Reply with quote

Any clues in mysql's log file?

Have you tried executing the command line in question directly, maybe with slightly modified parameters?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum