[Cialug] Reset MySQL root PW in container

L. V. Lammert lvl at omnitec.net
Wed Aug 9 16:09:17 UTC 2023


Working on a way to recover a database from an old backup (in this case
MySQL 5.7), .. I can attach the backup files to a 5.7 container, works
fine.

Unfortunately, cannot dump the old backup as there is no way to reset the
mySQL root PW - no mysqld_safe in the container (mysqld can't be stopped
anyway without the container stopping).

Don't suppose anyone has another option?

	TIA!!


More information about the Cialug mailing list