public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] MySQL 4.1 upgrade questions
Date: Wed, 26 Oct 2005 10:41:41 -0700	[thread overview]
Message-ID: <49bf44f10510261041j259f7eaen71ef8347e1a70a7f@mail.gmail.com> (raw)
In-Reply-To: <200510252047.48249.vivo@gentoo.org>

> > 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 =mysql-4.1.<micro_version>
> >
> > 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
> 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

Nice, I was using the database named mysql for my data so that fits
like a glove with the other software that accesses mysql.  The grant
tables are in the mysql database, so passwording that database secures
my data and the grant tables right?  Is it OK to leave the "test"
database as is?

- Grant

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-10-26 17:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-25 17:39 [gentoo-user] MySQL 4.1 upgrade questions Grant
2005-10-25 18:26 ` [gentoo-user] " Grant
2005-10-25 18:47 ` [gentoo-user] " Francesco R.
2005-10-26 17:41   ` Grant [this message]
2005-10-27 11:10     ` Francesco R.
2005-10-27 13:19       ` A. Khattri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49bf44f10510261041j259f7eaen71ef8347e1a70a7f@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox