Thanx so much! mysql_real_connect() certainly works.
Best,
hAj
on 2003.11.11 17:55, Nick Gaugler at [EMAIL PROTECTED] wrote:
> http://www.mysql.com/doc/en/mysql_connect.html
>
> This function is deprecated. It is preferable to use
> mysql_real_connect() instead.
>
>
>
> #include
> #include
>
alright. looking at your directory this should be ok.
gcc seeLog.c -o seeLog -I/usr/include -L/usr/lib/mysql -lmysqlclient
;)
Aftab Jahan Subedar
Subedar Technologies
Subedar Baag
Bibir Bagicha #1
North Jatrabari
Dhaka 1204
Bangladesh
sms://+447765341890
tel://+88027519050
[EMAIL PROTECTED]
http:/
http://www.mysql.com/doc/en/mysql_connect.html
This function is deprecated. It is preferable to use
mysql_real_connect() instead.
#include
#include
int main(void) {
MYSQL mysql;
if(mysql_init(&mysql) == NULL) {
fprintf(stderr,"Unable to initlize MySQL structure.\n");