create the database if not exist when connection (mysql)

create the database if not exist when connection for mysql.