Code Monkey home page Code Monkey logo

Comments (3)

talbright avatar talbright commented on July 20, 2024

I think it just gives you a warning? Or does it actually fail?

from rearview.

grimm26 avatar grimm26 commented on July 20, 2024

Looks like just a warning. I first noticed when I was having other troubles, so this part is just an annoyance. If I create a rearview user and empty rearview_production db ahead of time, I get

ActiveRecord::JDBCError: org.postgresql.util.PSQLException: ERROR: permission denied to create database: CREATE DATABASE "rearview_production" ENCODING =
'utf8'
arjdbc/jdbc/RubyJdbcConnection.java:537:in `execute'
....
bin/rake:4:in `(root)'
Couldn't create database for {"adapter"=>"postgresql", "database"=>"rearview_production", "username"=>"rearview", "password"=>"rearview", "host"=>"localhost"}

But the migrate and seed works fine. It is mainly pissed off that the rearview used doesn't have permission to create a db, but one is already created for it so it does not matter.

from rearview.

talbright avatar talbright commented on July 20, 2024

I think its probably better to leave the warning (it comes from rails anyways), then try and spend time suppressing it. I guess I'd rather have some noise than take the chance that I accidentally swallow some warning or error messages that might be useful to others for debugging setup.

from rearview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.