Postgresql socket error on OSX 10.7.3 when running Django's syncdb

前端 未结 7 2064
被撕碎了的回忆
被撕碎了的回忆 2020-12-14 04:03

Since upgrading OSX to version 10.7.3, when I attempt to run a Django \"syncdb\" command, I receive the following psycopg2 error from Postgresql 8.4.2:

psyco         


        
相关标签:
7条回答
  • 2020-12-14 04:39

    You can fix the problem by creating a symlink:

     ln -s /tmp/.s.PGSQL.5432 /var/pgsql_socket/
    
    0 讨论(0)
提交回复
热议问题