Either use the ADO.Net MySQL driver or you can do something like LinqToSql with Devart's product (I've had great success using it for Postgres on Linux, Mac, and Windows and it's medium price is worth leaving the hassle of DbLinq behind).
Disclaimer, my personal opinion: with that said, Pg is a superior database to MySQL. For a free ADO.Net driver, see http://npgsql.projects.postgresql.org/ -Abe On Mon, Mar 28, 2011 at 2:05 PM, Francisco M. Marzoa Alonso < [email protected]> wrote: > Hello, > > What's the best way to connect to a database? > > The method should be portable and run indistinctly on both Windows and > Linux. > > For now I want to use a Mysql database, but in the future this > application may use another database servers. > > Thanks in advance, > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list >
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
