Re: Talking to MySQL from C
Re: Talking to MySQL from C
- Subject: Re: Talking to MySQL from C
- From: Matt Hoffman <email@hidden>
- Date: Mon, 25 Jul 2005 14:38:17 -0700
http://dev.mysql.com/doc/mysql/en/c.html
There's also a link to mysql++, a library for communication using C++
(if that happens to be your thing).
-matt
On Jul 25, 2005, at 2:25 PM, Mark Gilbert wrote:
Folks.
I am trying to write a very simple database client application in C
which will connect to a MySQL server on OSXServer.
Seems like most people communicate with MySQL via PHP, but I
basically want to make a very simple 'list' of database entries in C.
Multiple client stations would be able to add records and view
records from different Macs, all sharing the one central MySQL
server database. Sounds pretty simple, right ?
I am probably missing something totally obvious, but how does one
actually communicate with a MySQL server ? Is it just 'chat' on a
Socket ? If so, where can I find the socket protocol ?
I already use TCP sockets to communicate between my own apps on
different machines.
Could anyone point me to some *really* simple C source code to
connect to, and run a simple query on a remote MySQL Server ?
Thanks
Mark Gilbert.
--
email@hidden
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.gallery.co.uk
New Product ! - Zen MetaCorder
Location Sound Field Recorder
http://www.metacorder.info
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40cs.washington.edu
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden