Settings check.
Create database if it does not exist.