This looks OK. Have you tested a restore from the content of
backup_alldb.sql?
I did a bit more testing today. So far it still appears that mysql_update
cannot update a v5.1 mysql database to v5.6 because it is not the comment
field does not have the expected type. This resulted in the error I
reported previously:
2023-08-07 23:09:11 6198 [ERROR] Incorrect definition of table mysql.proc:
expected column 'comment' at position 15 to have type text, found type
char(64).
I assume the field type was altered in some other mysql version. I seem
to have lost the log file for this run, so I need to recreate it.
Once I do this, I will test if correcting the field type with an alter
table is sufficient to get past this error.
Paul, when you did your mysql_update testing, are you sure the update
actually modified the mysql database? If the mysql database was created
by 5.6's mysql_install_db.pl it will be skipped by mysql_update, even if
you use the --force option.