how to check if there any database in mysql code example Example: python mysql check if database exists CREATE DATABASE IF NOT EXISTS DBName;