前提・実現したいこと
こちらのサイトでフレームワークの勉強中です。
Laravelでdbのマイグレーションが実行できませんでした。。
使用するdbはposgresqlで接続はできております。
php artisan make:migration create_folders_table --create=folders
->2019_02_14_131221_create_folders_table.phpが生成される
発生している問題・エラーメッセージ
上記コマンドでマイグレーションファイルの作成は正しくできておりますが、
実行段階で下記のエラーが出てしまい困っております。
php artisan migrate ->
In Connection.php line 664: SQLSTATE[08006] [7] received invalid response to SSL negotiation: [ (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations) In Connector.php line 67: SQLSTATE[08006] [7] received invalid response to SSL negotiation: [
試したこと
ポート番号を変えて試すと別のエラーが出てしまい元に戻れなくなりそうでしたのでここで止まっています。。
In Connection.php line 664: 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 3306? received invalid response to SSL negotiation: [ (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations) In Connector.php line 67: 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 3306? received invalid response to SSL negotiation: [
補足情報
os : mac os
php : 7.3.1
Laravel : 5.5.45
よろしくお願いいたします。