2019-12-05から1日間の記事一覧
db:migrate は問題なくできる環境で、 rails console からのDB接続ができない。 $ bundle exec rails console [1] pry(main)> Hoge.all Mysql2::Error::ConnectionError: Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused") from /us…
db:migrate は問題なくできる環境で、 rails console からのDB接続ができない。 $ bundle exec rails console [1] pry(main)> Hoge.all Mysql2::Error::ConnectionError: Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused") from /us…