python mysql periksa apakah ada basis data

CREATE DATABASE IF NOT EXISTS DBName;
Pleasant Pigeon