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

前端 未结 15 979
甜味超标
甜味超标 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:36

    Restarting postgresql works.

    To restart if you've installed it using homebrew, brew info postgresql will tell you to:

    launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
    

提交回复
热议问题