Commit 1fbad3c0 authored by unknown's avatar unknown

Inserted comment about lost root pwd procedure in Docs relying on command order in mysqladmin.


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parent 4e8d5665
......@@ -6,6 +6,7 @@ Miguel@light.local
Sinisa@sinisa.nasamreza.org
ahlentz@co3064164-a.rochd1.qld.optusnet.com.au
akishkin@work.mysql.com
arjen@bitbike.com
arjen@co3064164-a.bitbike.com
arjen@fred.bitbike.com
arjen@george.bitbike.com
......
......@@ -420,6 +420,14 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
{
const char *status;
/*
MySQL documentation relies on the fact that mysqladmin will
execute commands in the order specified, e.g.
mysqladmin -u root flush-privileges password "newpassword"
to reset a lost root password.
If this behaviour is ever changed, Docs should be notified.
*/
for (; argc > 0 ; argv++,argc--)
{
switch (find_type(argv[0],&command_typelib,2)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment