OpenDBX plugin, provides db connection to free and commercial databases. Currently supports: PostgreSQL, mySQL and Oracle (MSSQL and others should work, but not tested yet). Use FFI to talk to OpenDBX. It works in Unix, OSX and (through MinGW) Windows.