0
私はホームステッドへの移行ができます。 これは私の.envLaravel HomesteadでpostgreSQLを使用する方法
DB_CONNECTION=pgsql
DB_HOST=localhost
DB_PORT=54320
DB_DATABASE=intern
DB_USERNAME=homestead
DB_PASSWORD=secret
であり、私は、サーバー名=ホームステッド、ユーザ名=屋敷、パスワード=秘密と私のPostgreSQLで新しいサーバを作ります。私はマイグレーションを行い、すべてのテーブルがデータベースに保存されています(サーバー=ホームステッド) 問題は、自分のサイトでログインをしたいときです。このようなエラーが発生します
SQLSTATE[08006] [7] could not connect to server: Connection refused↵ Is the server running on host "localhost" (::1) and accepting↵ TCP/IP connections on port 54320?↵could not connect to server: Connection refused↵ Is the server running on host "localhost" (127.0.0.1) and accepting↵ TCP/IP connections on port 54320? (SQL: select * from "users" where "email" = [email protected] limit
デフォルトのデータベース名は 'homestead'であり、それは迷惑メールボックス(' 'vagrant ssh')から実行しようとしました – morph
私は試しましたが、まだエラーが発生します..それはmysqlで動作しますpostgresql @morph –
コマンドラインやGUIアプリケーション経由でpgsqlサーバに接続できますか? – morph