Spork 0 Posted June 11, 2018 How can i use MySql with the bridge? Greetings, ~Spork Share this post Link to post Share on other sites
Spork 0 Posted June 11, 2018 How can i use MySql with the bridge? Greetings, ~Spork Share this post Link to post Share on other sites
manaszon 4 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 Share this post Link to post Share on other sites
Spork 0 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. Share this post Link to post Share on other sites
manaszon 4 Posted June 13, 2018 You have to add MySql.Data.dll to your server-files/bridge/runtime folder too. Share this post Link to post Share on other sites
Spork 0 Posted June 20, 2018 There still comes unknowen directive when starting my ressource. Do maybe have to add something to the meta.xml? ~Spork Share this post Link to post Share on other sites
manaszon 4 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. Share this post Link to post Share on other sites