Hello. Here's a newbie question. I'm devloping a CGI program using C++ and MySQL.
I have a table of audio CDs. One field is the title and artist VARCHAR(80). This is a human readable ascii text string and may contain all sorts of punctation in mysterious places.
I'd like to allow searching on...
Just a quick update. I managed to eliminate the compress errors by adding -lz to the command line to include a compression library.
However, I'm still getting the mysql_connect error.
Please note it's the only undefined reference error and I'm already putting -lmysqlclient on the command line...
Hello. I'm trying to get the example code at...
http://rsynnott.f2g.net/mysqldemo.c
compiled.
I'm using the command line...
gcc -o mysqldemo mysqldemo.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient
And getting the result...
/tmp/ccHykNft.o: In function `main'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.