how to verify particular db exists or not code example Example: python mysql check if database exists CREATE DATABASE IF NOT EXISTS DBName;