Which development guide are you following?
I think the problem is that your user doesn’t have rights to create a database.