You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried these steps to resolve the issue,
1)Reinstalled mysql
2)Also tried executing these steps but still no way to solve this
`sudo apt remove libmariadbd-dev
sudo apt install libmariadbd-dev
gem install mysql2 -v '0.5.6'
`
The text was updated successfully, but these errors were encountered:
Iam getting Segmentation fault error,MySql version 8.0,34, using Ubuntu 22.04, ruby 2.5.3, rails, 5.1.7.
/```
home/user/.rvm/gems/ruby-2.5.3/gems/mysql2-0.5.6/lib/mysql2/client.rb:97: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0052 p:---- s:0319 e:000318 CFUNC :connect
c:0051 p:0672 s:0307 e:000306 METHOD /home/user/.rvm/gems/ruby-2.5.3/gems/mysql2-0.5.6/lib/mysql2/client.rb:97 [FINISH]
c:0050 p:---- s:0292 e:000291 CFUNC :new
c:0049 p:0104 s:0287 e:000286 METHOD /home/user/.rvm/gems/ruby-2.5.3/gems/activerecord-5.1.7/lib/active_record/connection_adapters/mysql2_adapter.rb:21
c:0048 p:0024 s:0280 e:000279 METHOD /home/user/.rvm/gems/ruby-2.5.3/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/connection_poo
c:0047 p:0021 s:0276 e:000275 METHOD /home/user/.rvm/gems/ruby-2.5.3/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/connection_poo
c:0046 p:0015 s:0272 e:000271 METHOD /home/user/.rvm/gems/ruby-2.5.3/gems/activerecord-5.1.7/lib/active_record/connection_adapters/abstract/connection_poo
The text was updated successfully, but these errors were encountered: