does not find MySQL.Data #681
-
my code: using (var conn = new MySqlConnection(conn_str))
{
conn.Open();
string sql = "INSERT INTO " + settings.Mysql_table_name + " VALUES (\"" + data.Skin + "\", \"" + data.SteamId64 + "\", " + data.Timestamp + ")";
new MySqlCommand(sql, conn).ExecuteNonQuery();
} misstake:
I tried to throw MySql.dll into the project but it didn't help in any way |
Beta Was this translation helpful? Give feedback.
Answered by
KillStr3aK
Nov 20, 2024
Replies: 1 comment 8 replies
-
Hey! You either have to ship the dependencies with the plugin, or put them in the shared folder in the same way you do with plugins for e.x.: shared/MySql.Data/MySql.Data.dll |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
meawmere
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
You either have to ship the dependencies with the plugin, or put them in the shared folder in the same way you do with plugins
for e.x.: shared/MySql.Data/MySql.Data.dll