I looked in mysql.h and saw #ifdef USE_OLD_FUNCTIONS .. mysql_connect(..) etc. #endif
, shouldn't it work then - even if they are deprecated? Well, I'll try with mysql_real_connect. Thanks. /nikolajg --- Ed Carp <[EMAIL PROTECTED]> wrote: > > Iv'e been using gcc 2.96-10 to compile a database > > program (ver. 3.23.49 I guess) in c and everything > > worked fine. It was compiled as a cc program. > Lately > > I've installed mysql 4.0.4 with developer and gcc > 3.2 > > (default with Redhat 8.0) and simply want to > compile > > the same program, but get the error in subj. I > tried > > with #define USE_OLD_FUNCTIONS. Is it only > possible > > with the MySQL++ library? Pointers in the makefile > to > > include and lib are the same and should work fine. > > Isn't mysql_connect deprecated in favor of mysql_real_connect? __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php