前提
rails db:create RAILS_ENV=productionコマンドを実行した際に発生した、ProtocRetryErrorが解決できません。
実現したいこと
AWSでデプロイしたい
railsを起動させたい
発生している問題・エラーメッセージ
[ec2-user@ip-172-31-40-241 furima-38506]$ rails db:create RAILS_ENV=production Created database 'furima_38506' /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/2.6.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/net-protocol-0.2.0/lib/net/protocol.rb:68: warning: previous definition of ProtocRetryError was here /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/2.6.0/net/protocol.rb:206: warning: already initialized constant Net::BufferedIO::BUFSIZE /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/net-protocol-0.2.0/lib/net/protocol.rb:213: warning: previous definition of BUFSIZE was here /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/2.6.0/net/protocol.rb:503: warning: already initialized constant Net::NetPrivate::Socket /home/ec2-user/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/net-protocol-0.2.0/lib/net/protocol.rb:550: warning: previous definition of Socket was here Configure a supported :charset and ensure innodb_large_prefix is enabled to support indexes on varchar(255) string columns. Couldn't create 'furima-38506_production' database. Please check your configuration. rails aborted! Configure a supported :charset and ensure innodb_large_prefix is enabled to support indexes on varchar(255) string columns. /var/www/furima-38506/bin/rails:9:in `<top (required)>' /var/www/furima-38506/bin/spring:15:in `<top (required)>' bin/rails:3:in `load' bin/rails:3:in `<main>' Tasks: TOP => db:create (See full trace by running task with --trace)
試したこと
ProtocRetryErrorとエラー検索を一通り行いましたが、有効な手段を得られませんでした。
補足情報(FW/ツールのバージョンなど)
rails sを実行した際にも、localhost3000には繋がるのですが、ProtocRetryErrorが起きているようです。

あなたの回答
tips
プレビュー