it now tries to create a database

it now tries to create the database if the user has the rights to do so