Spork Posted June 11, 2018 Posted June 11, 2018 How can i use MySql with the bridge? Greetings, ~Spork
Spork Posted June 11, 2018 Author Posted June 11, 2018 How can i use MySql with the bridge? Greetings, ~Spork
manaszon Posted June 11, 2018 Posted June 11, 2018 (edited) Hello! You will need MySQL Connector. You can get it from NuGet (in your Visual Studio or from the webpage below). However, if you don't want to deal with SQL and you want to get your data as objects from your database, then you can use Entity Framework Core (but consider that you will have to do few things before you can use it while with connector you can start the development instantly). For more information:MySQL Connector (MySql.Data) - NuGetMySQL Connector tutorialsEntity Framework Core - MS DOCS Edited June 11, 2018 by manaszon
Spork Posted June 12, 2018 Author Posted June 12, 2018 Thank you for the answer. But when i use this and start the ressource there comes that it is undefinded. So how can i integrate the MySql.Data.dll in my Sercer that ist launches with it.
manaszon Posted June 13, 2018 Posted June 13, 2018 You have to add MySql.Data.dll to your server-files/bridge/runtime folder too.
Spork Posted June 20, 2018 Author Posted June 20, 2018 There still comes unknowen directive when starting my ressource. Do maybe have to add something to the meta.xml? ~Spork
manaszon Posted June 20, 2018 Posted June 20, 2018 Yes, sorry, I forgot to mention that. Add <assembly ref="../../runtime/NameOfYourDLL.dll" /> to your meta.xml, and hopefully it will work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now