I need to reset a root password for one of my mysqld processes. I know in mysql, you can use mysqld_safe with the skip grant tables option, but what do you do when you have multiple mysql processes and want to reset their root user passwords? I can’t use this option with mysqld_multi.
thanks,
mysqld_multiis basically just a collection ofmysqldprocesses. So you can simply start that specific process manually with the skip grant tables option.Do note that you have to stop the specific group with
mysqld_multifirst though.