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.