Skip to content

Authentication plugin 'sha256_password' cannot be loaded #9

@voarsh2

Description

@voarsh2

Tried to add my db and the test connection gives to UI feedback. refreshing page E.G http://localhost/dashboard gives me this error?

Puma caught this error: Authentication plugin 'sha256_password' cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/sha256_password.so: cannot open shared object file: No such file or directory (Mysql2::Error)
/bundle/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `connect'
/bundle/gems/mysql2-0.5.3/lib/mysql2/client.rb:90:in `initialize'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `new'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:24:in `mysql2_connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:887:in `new_connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `checkout_new_connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:910:in `try_to_checkout_new_connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:871:in `acquire_connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:593:in `checkout'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:433:in `connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:1112:in `retrieve_connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_handling.rb:254:in `retrieve_connection'
/bundle/bundler/gems/rails-35ebac1fb862/activerecord/lib/active_record/connection_handling.rb:210:in `connection'
/app/lib/catch_error_from_rack.rb:12:in `call'
/bundle/gems/newrelic_rpm-6.11.0.365/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/bundle/bundler/gems/rails-35ebac1fb862/railties/lib/rails/engine.rb:528:in `call'
/bundle/gems/newrelic_rpm-6.11.0.365/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/bundle/gems/puma-3.12.6/lib/puma/configuration.rb:227:in `call'
/bundle/gems/puma-3.12.6/lib/puma/server.rb:706:in `handle_request'
/bundle/gems/puma-3.12.6/lib/puma/server.rb:476:in `process_client'
/bundle/gems/puma-3.12.6/lib/puma/server.rb:334:in `block in run'
/bundle/gems/puma-3.12.6/lib/puma/thread_pool.rb:135:in `block in spawn_thread'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions