From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EfJGJ-0003gn-4N for garchives@archives.gentoo.org; Thu, 24 Nov 2005 15:43:51 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAOFgvhO006526; Thu, 24 Nov 2005 15:42:57 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAOFc79B020603 for ; Thu, 24 Nov 2005 15:38:08 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EfJAl-00077D-7b for gentoo-user@lists.gentoo.org; Thu, 24 Nov 2005 15:38:07 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EfJ8J-0007Mj-Hl for gentoo-user@gentoo.org; Thu, 24 Nov 2005 16:35:35 +0100 Received: from adsl-68-74-157-215.dsl.emhril.ameritech.net ([68.74.157.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Nov 2005 16:35:35 +0100 Received: from reader by adsl-68-74-157-215.dsl.emhril.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Nov 2005 16:35:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Harry Putnam Subject: [gentoo-user] Re: How to alter ./configure flags from emerge Date: Thu, 24 Nov 2005 10:34:46 -0600 Organization: Still searching... Message-ID: <8764qi9f89.fsf@newsguy.com> References: <877jaza2fn.fsf@newsguy.com> <438482FB.6030508@ut.ee> <43848C11.1010609@mid.message-center.info> <7573e9640511230817l895d7d1j93a96664bcdabacc@mail.gmail.com> <43855353.4000802@mid.email-server.info> <8764qib0g2.fsf@newsguy.com> <4385C3A5.6050206@planet.nl> <20051124142234.06937672@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-68-74-157-215.dsl.emhril.ameritech.net User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:MlpDFD49orWCTxbtLfXxmJ7Kc8g= Sender: news X-Archives-Salt: 4f005cfd-ee9e-45cf-98c5-53e1c21a5658 X-Archives-Hash: 72b16d6b3390abf29076b918b73d4bb5 Neil Bothwick writes: [...] > There was a note at the end of the emerge: > > * You might want to run: > * "emerge --config =dev-db/mysql-5.0.16-r2" > * if this is a new install. > > did you do this? (First I've backed of 5.16 since I couldn't even start it from: /etc/init.d/mysql Unemerged and reemerged 5.15) Gack, no, I missed that completely. So backing up here I ran that and it errors out because apparently a db was actually built in all my tinkering so rm -rf /var/lib/mysql (in the current case 5.0.15 And rerun emerge --config =dev-db/mysql-5.0.15 It now works and queries for a password which I gave it. There were a large pile of warning about being `Unable to load' /usr/share/zoninfo stuff I don't understand the warnings about supplying a password since the first step is to do that.... trying the suggested commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h reader password 'new-password' Fail like this /usr/bin/mysqladmin -u root password 'hpreader' error: 'Access denied for user 'root'@'localhost' (using password: NO)' Whats this all about? OUTPUT of emerge --config =dev-db/mysql-5.0.15 See the manual for more instructions. emerge --config =dev-db/mysql-5.0.15 ======================================== Configuring pkg... * MySQL DATADIR is /var/lib/mysql * Creating the mysql database and setting proper * permissions on it... * Insert a password for the mysql 'root' user * Avoid ["'\_%] characters in the password > * Check the password > Installing all prepared tables Fill help tables To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h reader password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory: cd sql-bench ; perl run-all-tests Please report any problems with the /usr/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at https://order.mysql.com [...] snipped warnings leaving only one sample: Warning: Unable to load '//usr/share/zoneinfo/Asia/Riyadh87' as time zone. Skipping it. [...] . * Loading "zoneinfo" this step may require few seconds * done ========================================================== -- gentoo-user@gentoo.org mailing list