views:

260

answers:

6

I am getting started doing ASP.NET on my Mac using Mono, and I'm wondering which databases people have used in this setup. I'd be looking for something that is easy to set up, as this is just for fun and for continued learning of ASP.NET.

A: 

You could use MySQL - it's well documented and has .Net drivers. See http://www.mono-project.com/Database_Access for a comprehensive list with driver info.

rifferte
I wasn't sure because the info on mono-project.com and mysql.com didn't seem to sync up... Mono says "use the 1.0.7 release" but MySQL shows up to version 6, and only seems to offer Windows binaries. If there is a setup that works that would be perfect for me. Thanks!
Don Zacharias
The database version is 6 - the driver version is 1.07. These are two different things. You should try it. It only has Windows binaries as it probably assumes you are using .Net and not Mono. That being said - it could still work.
rifferte
A: 

Postgresql via MacPorts. Npgsql as the .Net driver.

xanadont
A: 

MySQL, I am using it too.

+5  A: 

For your purposes, the SQLite version that comes with Mono (see here) seems perfect, no much how wonderful PostgreSQL (or, I guess, even MySQL;-) might be;-).

SQLite is everywhere (in .NET, in iPhones, comes with Mono, comes with Python, it's in Android, etc, etc), so getting familiar with it can hardly hurt anyway!-)

Alex Martelli
as an added bonus, it comes installed for you
cobbal
Sweet, got a quick test working for SQLite which will be good to learn anyway. Thanks!
Don Zacharias
A: 

EffiProz Mono Database Works well - EffiProz-MO

Kris Compton