Check if database exists in JavaScript code example Example: python mysql check if database exists CREATE DATABASE IF NOT EXISTS DBName;