PDA

View Full Version : how to connect the gnome aplication(gtk+) to database



lovelyvik293
March 23rd, 2009, 08:29 PM
HI,
i am working on a application which is written in gtk+ and i want to connect this application with database server.
So,please guide me or give me a link of how to do this work.
I am using ubuntu 8.10.
And for database i am using the mysql.

sujoy
March 23rd, 2009, 08:53 PM
mysql has API for almost all langauges. mysql-python, perl-dbd-mysql, mysql C api, ...
choose one to suit your language of choice

Can+~
March 23rd, 2009, 08:57 PM
GTK+ with what? C? Python? Java?

cabalas
March 23rd, 2009, 09:17 PM
GNOME-DB (http://www.gnome-db.org/) could be worth a look it has bindings in C++, C# and python and integrates nicely with the rest of the Gtk stack.

lovelyvik293
March 25th, 2009, 07:42 AM
@Can+~
I am using c.
@cabalas
Thanks.