List:Packagers« Previous MessageNext Message »
From:Lenz Grimmer Date:April 10 2003 11:26am
Subject:Re: mysql_fix_privileges_table
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Thu, 10 Apr 2003, Christian Hammers wrote:

> Why not using simple SQL and put the scripts only as comments? (a tool
> could then show them if this is wished).

Yes, something like that is planned.

> Oh wait, another problem: mysqld --bootstrap exists when an error occurs
> and your ALTER TABLES generates one if the table is already ok.

Hmm, that's true.

> Do you have a cleaner solution than splitting the file up into little
> queries and call mysqld --bootstrap for every of it so that an exit does
> not harm? Something like "--ignore-errors"?

Unfortunately not :(

Does that mean I can revert your patch for now?

> For now I just display a message like "once your server is up and
> running please call the following script...".

I think, that's sufficient. MySQL will run with the old tables without
problems, you just cannot make use of the new privilege features.

Bye,
	LenZ
- -- 
For technical support contracts, visit https://order.mysql.com/?ref=mlgr
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /      Mr. Lenz Grimmer <lenz@stripped>
 / /|_/ / // /\ \/ /_/ / /__     MySQL AB, Production Engineer
/_/  /_/\_, /___/\___\_\___/     Hamburg, Germany
       <___/   www.mysql.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+lVT0SVDhKrJykfIRAi9dAJ44KnkjNTf3qVgwrmtw9wtU4mD3AgCfaEiM
O59UA96DVkUYgHS0GjPSAyY=
=AVXE
-----END PGP SIGNATURE-----
Thread
mysql_fix_privileges_tableChristian Hammers4 Apr
  • Re: mysql_fix_privileges_tableLenz Grimmer4 Apr
    • Re: mysql_fix_privileges_tableChristian Hammers6 Apr
      • Re: mysql_fix_privileges_tableLenz Grimmer9 Apr
        • Re: mysql_fix_privileges_tableChristian Hammers10 Apr
          • Re: mysql_fix_privileges_tableLenz Grimmer10 Apr
            • Re: mysql_fix_privileges_tableChristian Hammers10 Apr
              • Re: mysql_fix_privileges_tableLenz Grimmer10 Apr