Rails migration fails on Mysql2::Error: Plugin http could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/http.so: cannot open shared object file: No such file or directory

Hello,

I am facing this error. Connection to remote db server works in client in shell and also via irb using mysql2 gem loaded. But rails fails on this error.

   Mysql2::Error: Plugin http could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/http.so: cannot open shared object file: No such file or directory

And I cannot to find the solution.

Did u found a way to fix it?? im facing the same error

Hi there! Could y’all post full stack traces?