This is an MySQL connection writed by Lars Rasmusson.
You can compile it with
oztool c++ -c MySqlLib.cc -o MySqlLib.o
oztool ld MySqlLib.so-linux-i486 -o MySqlLib.o
ozc -c SQL.oz
En réponse à Bob Calco <bobcalco@alltel.net>:
> Or if you DO need a full relational DB, check out the psql
> (PostgreSQL)
> interface in the /contrib subdirectory of the source.
>
> Sincerely,
>
> Bob
>
> On Mon, 2003-10-06 at 14:30, Torbjörn Lager wrote:
> > Adam Szlachta wrote:
> >
> > > I'm just wondering... is there any OZ SQL-database access library
> > > which I can use in OZ programs?
> > >
> > > I am just learning OZ now (because it seems to be perfect for me),
> > > but maybe in the future I would like to access DB such as mySQL
> > > or postgreSQL in my own programs...
> > >
> > > If the answer is "no": will be any OZ DB-lib built in the future?
> > >
> > > If the answer is "no": how I could do that in other way? (no OZ
> DB-lib)
> >
> > If you don't need a full relational DB, check out the GDBM
> interface:
> >
> >
> http://www.mozart-oz.org/documentation/contrib/node2.html#chapter.gdbm
> >
> > Has the advantage of being part of the Mozart distibution...
> >
> > Cheers,
> > Torbjörn
> >
> >
> > -
> > Please send submissions to users@mozart-oz.org
> > and administriva mail to users-request@mozart-oz.org.
> > The Mozart Oz web site is at http://www.mozart-oz.org/.
> > Please send bug reports to bugs@mozart-oz.org.
>
> -
> Please send submissions to users@mozart-oz.org
> and administriva mail to users-request@mozart-oz.org.
> The Mozart Oz web site is at http://www.mozart-oz.org/.
> Please send bug reports to bugs@mozart-oz.org.
>
-- Ing. Gustavo Adolfo Pabon Gerente de Proyectos - Project Manager Lince Technologies (572) 6901100 ext 133 Cali - Colombia - South AmericaURL: http://atlas.puj.edu.co/~gpabon/ EMAIL: gpabon@atlas.puj.edu.co
------------------------------------------------- This mail sent through IMP: atlas.puj.edu.co