CitusDBで caravel を使用していますが、データベース ノードへの接続で問題が発生しています。率直に言って、私は何をすべきか見当もつきません。
公式のインストール手順に従ってインストールして実行しました。
psql
スクリプトを使用して実行中のマスターにログインできますが/opt/citusdb/4.0/bin
、アプリケーションから接続できません。Flask-SQLAlchemy は postgresql 方言とドライバーをサポートしており、実行中のサーバーは 5432 ポート上にあるようです。で試していpsycopg2
ます。
postgresql
マスターノードの起動を妨げていたため、サービスをオフにしました。
これはエラーです:
2016-04-28 10:10:53,487:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (psycopg2.OperationalError) could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?