def missing_mysql(): hive = Hive(get_dist_config()) hive.new_db_connection() hookenv.status_set('blocked', 'Waiting for relation to database')