public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: Francesco Riosa <vivo@gentoo.org>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] MySQL upgrade guide
Date: Fri, 08 Dec 2006 01:59:13 +0100	[thread overview]
Message-ID: <4578B8E1.8070004@gentoo.org> (raw)
In-Reply-To: <20061207234531.GG17171@home.power>

Alex Efros ha scritto:
> Hi!
>
> I notice you are one of authors for Gentoo's MySQL upgrade guide
>     http://www.gentoo.org/doc/en/mysql-upgrading.xml
> and I've few questions about it.
>
>     # MYSQL --execute="FLUSH TABLES WITH READ LOCK;"
>     ...
>     # MYSQL --execute="UNLOCK TABLES;"
>
> AFAIK MySQL drop any locks when connection closes, so you probably need to
> open MySQL client in another console and run FLUSH TABLES/UNLOCK TABLES
> there while executing tar in first console between these commands.
>
>     # mysql_upgrade_shell --user=root --password='your_password' \
> 	 --protocol=tcp --datadir="${DATADIR}"
>   
Verified, docs need to be updated, I'm planning to do a bunch of things
next three days on mysql this will be one.
> In original MySQL upgrade documentation they recommend to run mysql_upgrade
> program and there is nothing about mysql_upgrade_shell script.
> AFAIK mysql_upgrade_shell is older version of this program (mysql_upgrade
> program was added because there no bash to execute mysql_upgrade_shell
> script on Win32).
> So, what's better to run - mysql_upgrade_shell or mysql_upgrade? Or there
> no difference between them now?
>   
mysql_upgrade_shell  has survived better to my test but I should redo
those now probably mysql_upgrade is better maintained.

-- 
gentoo-server@gentoo.org mailing list



      parent reply	other threads:[~2006-12-08  1:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01  9:30 [gentoo-server] [friendly reminder] sys-libs/timezone-data and MySQL Francesco Riosa
2006-12-01 12:53 ` Christian Bricart
2006-12-07 22:00   ` [gentoo-server] remote /usr Alex Efros
2006-12-07 22:17     ` Ronan Mullally
2006-12-08  7:12     ` Christian Bricart
2006-12-08 13:43       ` Alex Efros
2006-12-08 14:08         ` Ronan Mullally
2006-12-08 14:41           ` Alex Efros
2006-12-08 18:23             ` Ronan Mullally
2006-12-09  0:33             ` Christian Bricart
2006-12-07 21:55 ` [gentoo-server] [friendly reminder] sys-libs/timezone-data and MySQL Alex Efros
2006-12-08  0:35   ` Francesco Riosa
2006-12-07 23:45 ` [gentoo-server] MySQL upgrade guide Alex Efros
2006-12-08  0:10   ` Alex Efros
2006-12-08  1:18     ` Francesco Riosa
2006-12-08  0:59   ` Francesco Riosa [this message]

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=4578B8E1.8070004@gentoo.org \
    --to=vivo@gentoo.org \
    --cc=gentoo-server@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