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 1EUTui-0005UB-Rr for garchives@archives.gentoo.org; Tue, 25 Oct 2005 18:52:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j9PIpkSU014369; Tue, 25 Oct 2005 18:51:46 GMT Received: from mail.pnpitalia.it (85-18-21-122.ip.fastwebnet.it [85.18.21.122]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j9PIlnXE028502 for ; Tue, 25 Oct 2005 18:47:49 GMT Received: from localhost (localhost [127.0.0.1]) by mail.pnpitalia.it (Postfix) with ESMTP id 213A57AD6F8 for ; Tue, 25 Oct 2005 20:47:49 +0200 (CEST) Received: from mail.pnpitalia.it ([127.0.0.1]) by localhost (db [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19807-06 for ; Tue, 25 Oct 2005 20:47:48 +0200 (CEST) Received: from host-4-153.pnpitalia.it (host-4-153.pnpitalia.it [192.168.4.153]) by mail.pnpitalia.it (Postfix) with ESMTP id 997B37AD6F6 for ; Tue, 25 Oct 2005 20:47:48 +0200 (CEST) From: "Francesco R." Organization: PNP Italia To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] MySQL 4.1 upgrade questions Date: Tue, 25 Oct 2005 20:47:48 +0200 User-Agent: KMail/1.8.92 References: <49bf44f10510251039p58526eb5sa9308d800fbeb93e@mail.gmail.com> In-Reply-To: <49bf44f10510251039p58526eb5sa9308d800fbeb93e@mail.gmail.com> 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="iso-8859-1" Content-Disposition: inline Message-Id: <200510252047.48249.vivo@gentoo.org> X-Virus-Scanned: amavisd-new at db X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j9PIlnXE028502 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j9PIpkSn014369 X-Archives-Salt: 33e2b7fe-9956-454f-8208-f3ff9d603ef8 X-Archives-Hash: 64d84f7d285fa6d98428bf2ffeed7db6 Alle 19:39, marted=EC 25 ottobre 2005, Grant ha scritto: > Hello, I'm upgrading my server from mysql 4.0 to 4.1 by following the > instructions here: > > http://www.gentoo.org/doc/en/mysql-upgrading.xml > > I noticed this piece of instruction: > > emerge --config =3Dmysql-4.1. > > What does that do? From what I remember, I need to password the > grant table and create a new table for my data with the proper name, > username, and password. Does that sounds right? Does the emerge > --config command take you through any of that or do I need to figure > out (remember) how to do it manually? In it's older (and deprecated) form was "ebuild path/name.ebuild=20 config" . Basically it run the pkg_config() function inside the ebuild itself. Specifically MySQL pkg_config() actions are the following: - check that no mysql server are running on the box or die - check that datadir (/var/lib/mysql) is empty or die - ask for a password - install the databases (mysql & test) - fill the help tables for command line client - fill the timezone tables - set the _mysql_ root password --=20 gentoo-user@gentoo.org mailing list