Fix is_mysqld_running() referencing to previously deleted variable