Postgres error “invalid value for parameter ”TimeZone“: ”UTC“”

前端 未结 15 818
甜味超标
甜味超标 2021-02-01 00:26
Jupitor$ bundle exec rake db:create db:migrate
APP_development already exists
rake aborted!
PG::Error: ERROR:  invalid value for parameter \"TimeZone\": \"UTC\"
: SET ti         


        
15条回答
  •  终归单人心
    2021-02-01 00:51

    Just a quick reference for those that are not using Postgres.app, but that start psql from the command line or through launchctl. You'll need to adjust the following for where you have your Postgres data and log files located at:

    pg_ctl stop
    pg_ctl start -D /usr/local/pgsql/data/ -l /usr/local/pgsql/log/server.log
    

提交回复
热议问题