Postgresql socket error when running Django's syncdb (mac OS 10.7.5)

前端 未结 2 1522
迷失自我
迷失自我 2021-01-26 01:36

I\'m trying to run Django\'s syncdb operation and am getting the following error:

psycopg2.OperationalError: could not connect to server: Permission denied
    I         


        
2条回答
  •  醉话见心
    2021-01-26 01:57

    your database is not running try

    pg_ctl -D /usr/local/var/postgres  start
    
    

    assuming thats where your postgre data directory is

提交回复
热议问题