setting for mysql comfile in C programming



At first you need to make a right server-list ( /etc/apt/server.list)

or you can change it system -> Admin -> Software source

then see those website

http://kldp.org/node/22043
http://www.cyberciti.biz/tips/linux-unix-connect-mysql-c-api-program.html
http://kldp.org/node/19659




you should know this

gcc -o cautoclick main.o osdep.o  guicommandline.o  -lm  -L/usr/lib -lX11 -lXext -lXtst -lmysqlclient

it can complete compile