UE4 Connect to MySql

Unfortunately , I got a problem when I try to Connect to MySql , VS error list like this:


It shows something is wrong about “FileReference”, but I know little about it.What should i do???

May I ask, why are you attempting to use an SQL database inside the build-process of Unreal?
This doesn’t seem safe or appropriate.

Hi,thank you for your remind . I just try to learn about DataBase and how to use database in UE4. Actually I know little about database.

I understand, you will most likely want to use database in CPP files only.
I Highly Recommend the SQLlite3 library for database use - while it is not MySQL it is very simple to use.

OK. e…busy recently. Thank you so much. I will try it.