alliedmodders / sourcemod

SourceMod - Source Engine Scripting and Administration
http://www.sourcemod.net/
986 stars 423 forks source link

Cannot open shared object file: No such file or directory #1339

Closed hXR16F closed 4 years ago

hXR16F commented 4 years ago

Help us help you

Environment

Description

It's giving me errors from plugins that require MySQL.

Authentication plugin 'sha256_password' cannot be loaded: /usr/local/mysql/lib/plugin/sha256_password.so: cannot open shared object file: No such file or directory

The folder /usr/local/mysql/ doesn't exist. On our dedicated server we have web server and other games (FiveM, Garry's Mod) and everything is working except CS: GO.

Problematic Code (or Steps to Reproduce)

Just run the server and have plugins that require access to MySQL.

Logs

console

peace-maker commented 4 years ago

That error is from your mysql server. Is the mysql server hosted on the same machine as the csgo server?

hXR16F commented 4 years ago

That error is from your mysql server. Is the mysql server hosted on the same machine as the csgo server?

Yes, as I said before - we have web server running MySQL.

asherkin commented 4 years ago

SourceMod’s MySQL extension doesn’t support the authentication plugin you are using, you’ll need to re-create the user using the native_password scheme.

hXR16F commented 4 years ago

SourceMod’s MySQL extension doesn’t support the authentication plugin you are using, you’ll need to re-create the user using the native_password scheme.

To which I should change? mysql_native_password doesn't do anything - still same error.

My MySQL version:

mysql  Ver 8.0.20 for Linux on x86_64 (MySQL Community Server - GPL)
KyleSanderson commented 4 years ago

This has no relation to sourcemod @hXR16F . While community members have tried to help ultimately this is completely on you to implement. https://dba.stackexchange.com/questions/209514/what-is-mysql-native-password