Fail if server isn't running mysql or sqlite as sql driver

Prepare for postgresql ;)
Added init scripts for database tables