Why not create database if it not exists

I failed to install typecho before I create a database manually.

I think auto create the database is better, of cause not only for mysql.

THX