N
N
NeoLight32020-07-03 21:49:25
MySQL
NeoLight3, 2020-07-03 21:49:25

Object reference not set to an instance of an object due to MySQL?

In general, the situation is as follows:
I wanted to connect MySQL to my game script, but no matter what versions of the MySQL.Data.dll library framework I installed, I still get the error Object reference not set to an instance of an object.
And if you comment out or remove the MySQL script (the one in the screenshots), then everything works fine.
What is the problem?
5eff7d5e5a24c286082785.png
5eff7d6917206669137318.png
5eff7e047aa55814538630.png

PS I put all the .dll libraries in different paths, both in the Managed folder and in the folder with the script that uses it.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question