create the database if not exist when connection (mysql)

create the database if not exist when connection in mysql.