It was correct. Need indentation as this line defines the 2nd argument of `connection.create_database`.