• Georgi Kodinov's avatar
    Bug #36654: mysqld_multi cannot start instances with different versions · 014e2891
    Georgi Kodinov authored
    occasionally.
    
    mysql_multi can call mysqld_safe. In doing this it's not changing the 
    current working directory. This may cause confusion in the case where 
    mysqld_multi is handling instances of servers of different versions 
    and the current working directory is the installation directory of one 
    of these servers.
    
    Fixed by enhancing the meaning of basedir in [mysqldN] sections of 
    mysqld_multi. If specified, mysqld_multi will change the current 
    working directory to the basedir directory before starting the server 
    in mysqld_multi ... start ... and then change it back to what it was.
    
    scripts/mysqld_multi.sh:
      Bug #36654: optionally preserve, change and restore the cwd when 
      starting server instances
    014e2891
mysqld_multi.sh 22.5 KB