We don't ship with any DB layer today, but Ecto is the defacto choice for sql. We are planning to include a Resource Protocol, so it should be very easy to bring your own DB/model layer and still get all the nice conventional route builders, forms, etc.
Ecto and PostgreSQL seems the most mature option, though there's a Redis library and of course Mnesia. I haven't been able to find any support for MySQL.
As others have said, Ecto is the layer you would use to connect to Postgresql. It's pretty different from ActiveRecord, not necessarily in good or bad ways. It's just different.