Connect with MySQL using C in ubuntu

BIT0107-Toma at 09h02
22
Feb
2011
Connect with MySQL using C in ubuntu

It is possible to connect with MySQL using C. Here I am directing a way for that.

First of all you need
  • mysql server(sudo apt-get install mysql-server)
  • A library for developers(libmysqlclient-dev)

Now we write a code to connect with mysql and which shows all the tables in database
Code:
/* Simple C program that connects to MySQL Database serv
About
This topic belongs to the forum
  • IT based community for everyone, managed by the students of Institute of Information Technology(IIT), University of Dhaka.

  • Numbers of topics : 2170
  • Numbers of messages : 11613
  • Numbers of users : 1941
  • Numbers of points : 310
Similar topics
Hello! Dear friends, Some of us are using various modem for internet connection.GP, Banglalink,Aktel,Citycell ZOOM.It it easy to install the internet modems in UBUNTU accept ZOOM. Here I am giving the process/guidline for installing Citycell ZOOM
Hi there First of all, collect the oracle 10G express edition debian installer from oracle. then at first install the debian library called libaio1_0.3.107-3ubuntu2_i386 Code:sudo apt-get install libaio1 then, install the oracle 10G express
I just found the way First of all, Squirrel is a very lite Toad like software. However, its advantage is that it is only 20 MB in size and it is actually a jar file which can be used as an installer in any system. it can be used in mac,
hello ubuntu users. today i will tell you how to use your mobile phone as a modem via bluetooth. you can do that in windows using the application provided by your cell phone vendor, but what about ubuntu linux. i will tell you how. just follow the steps
Ubuntu version: 10.04 LTS I need help. My topic title isn't self-explanatory I tell you first. I've managed debian packages for LAMP from offline. Ran the following commands in terminal to install the
Forums from same category
See also
more_less
Informations

3 Replies For the topic :
"Connect with MySQL using C in ubuntu"

This topic has been viewed 1466 times.

Last message :
22/02/2011 at 09h02 by "BIT0107-Toma"