This fixes #7399.  The scripts now run when mysql is running.