0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

[BUG] Segmentation fault at 0x0000000000000b88

Last updated at Posted at 2020-12-02

エラー文

awsでDBをマイグレーションしようとしたらエラーが発生しました。
[BUG] Segmentationなるものが発生していて、セグフォと呼ばれているそうです。

/usr/local/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/connection_adapters/mysql/database_statements.rb:19: [BUG] Segmentation fault at 0x0000000000000b88

原因

調べてみたら、MySQLが古かったようでした!

対策

MySQLを5.2にアップデートします!

gem "mysql2", "~> 0.5.2"

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?