Mono Yocto MySql trifecta question
Kirk Rowe <[email protected]> Mon, 22 Aug 2016 14:49:52 -0300
| Newsgroups | gmane.comp.gnome.mono.general |
|---|---|
| Message-ID | <CAArozyMKcBSwmZEraeXtmRojCNFZY4xzojL1SX=0v5p76xC6gA@mail.gmail.com> |
This is my first mailing list message, ever, so I apologize if I’m not doing this correctly. I am working on a Yocto embedded board from Digi, using openembedded, meta-mono, and meta-digi. Included in this is MariaDB 5.5.48, which we're using as our database for on the board. We are also using Mono to create a small form for very basic user interaction, and for managing data. However, when I run this C#/Mono program, I attempt to connect using a MySqlConnection object (from MySql.Data.dll/MySql.Data.MySqlClient), I cannot for the life of my figure out how to connect to the database. I have tried identical code on Ubuntu, and it works fine, but whenever I put in a connection string of "server=localhost;database=myData;Uid=root;Pwd=;", I always get the error: "Unable to connection to any of the specified MySql Hosts." I am currently at a loss of what to do after hours and hours of research, which is why I'm doing this for the first time. Thank you to anyone who replies. _______________________________________________ Mono-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/mono-list