Mysql: fixed walking through when not installed and no db etc.