473,320 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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?

Jun 5 '06 #1
4 1562
<pa****@gmail.com> wrote in message
news:11**********************@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.
Jun 5 '06 #2
pa****@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.
Jun 6 '06 #3
On 2006-06-05, pa****@gmail.com <pa****@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...)
Jun 6 '06 #4
pa****@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.
Jun 6 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Westcoast Sheri | last post by:
To keep track of how many fruits my visitors buy, I use a mySQL database (2 columns: "fruit" and "quantity")....so can we make these following mySQL queries work somehow? (visitor buys 5...
0
by: MJL | last post by:
This is a mysql/php question (but a little more on the mysql side.) The two are so closely related these days, I thought it would be ok to ask here. I installed on my Suse Linux system mysql 4.0...
8
by: Tony Clarke | last post by:
Hi, Just a quick question about performance with MySQL & PHP. If I had a table in a MySQL database with about 100,000 records in it and I need to find the last record is there a quick way to do...
2
by: pieter_hordijk | last post by:
Hi all, maybe this isn't a php question, but a MySQL question. If so I'm sorry for asking you guys to help me :) I know this question is asked often in NGs, but I couldn't find the answer...
2
by: kimshapiro100 | last post by:
Question on PhP, MySQL I am thinking of a consumer internet business for which I will have to have a database driven site built. I am thinking of using PhP, MySQL as the main technologies...
39
by: Mairhtin O'Feannag | last post by:
Hello, I have a client (customer) who asked the question : "Why would I buy and use UDB, when MySql is free?" I had to say I was stunned. I have no experience with MySql, so I was left sort...
1
by: Jim Carlock | last post by:
I have a couple questions about MySQL involving which version of MySQL to use. I'm looking for minimal memory use on a Windows XP machine. Which version would be best for this? And can anyone...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
5
by: news.telia.net | last post by:
Hi! I have a question. I have installed php and mysql on an apache-server on windows and I can't connect to the server. I tried to create a database (since I am trying to learn howto). My...
27
by: gerrymcc | last post by:
Hello, I'm a php/mysql beginner... Is there any way of making the mysql command line client full-screen? Sometimes it's easier to use the client than go thru php, but since it's only about 80...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.