Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C Programming (http://www.velocityreviews.com/forums/f42-c-programming.html)
-   -   MYSQL question (http://www.velocityreviews.com/forums/t443005-mysql-question.html)

paytam@gmail.com 06-05-2006 08:29 PM

MYSQL question
 
hi all!!
is it possible to connect to MYSQL Data bases from C program?
if it is possible tell me what should I do?


Dann Corbit 06-05-2006 08:38 PM

Re: MYSQL question
 
<paytam@gmail.com> wrote in message
news:1149539386.296144.296760@h76g2000cwa.googlegr oups.com...
> hi all!!
> is it possible to connect to MYSQL Data bases from C program?

Yes.
You can use ODBC, OLEDB, .NET adapters or use the C API directly.

> if it is possible tell me what should I do?

1. Go to the MySQL site and download their documentation.
2. Read the documentation
3. Do what it says.



Simon Biber 06-06-2006 12:44 AM

Re: MYSQL question
 
paytam@gmail.com wrote:
> hi all!!
> is it possible to connect to MYSQL Data bases from C program?
> if it is possible tell me what should I do?


There are several third-party libraries that you can use to connect to
MySQL databases.

Such functionality is not part of the standard C library itself, and is
not necessarily available on every single C implementation.

--
Simon.

Nelu 06-06-2006 01:04 AM

Re: MYSQL question
 
On 2006-06-05, paytam@gmail.com <paytam@gmail.com> wrote:
> hi all!!
> is it possible to connect to MYSQL Data bases from C program?
> if it is possible tell me what should I do?
>

This is off-topic on c.l.c.

You could go to www.mysql.com and check the documentation.
You can also find the libraries and the header files that
you need to use in your C program. That's if you want to
connect directly to the server using their C API. There
are other solutions but some of them may depend on your
OS.
This is just in case you want to use an already existing
library. If you are trying to create a client from scratch
you will need to learn about sockets, pipes or something
else, things that are also off-topic on c.l.c.


--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)

SM Ryan 06-06-2006 01:50 AM

Re: MYSQL question
 
paytam@gmail.com wrote:
# hi all!!
# is it possible to connect to MYSQL Data bases from C program?
# if it is possible tell me what should I do?

Yes, and it's explained in the MySQL reference manual,
available free via download or browseable through http.

http://dev.mysql.com/doc/refman/5.0/en/apis.html
for example.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
A bunch of savages in this town.


All times are GMT. The time now is 03:44 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57