Fixed database connection

When no connection parameters are provided, the rest of the application
keep loading
Whut ?!
Merge branch 'master' of https://github.com/gamer204/lightapi