No.286 [mailto:rahul@;gdit.iiit.net]
Sent: Friday, November 08, 2002 11:34 AM
To: [EMAIL PROTECTED]
Subject: accessing mysql from C
whenever i try to execute a C file which uses the mysql_connect method
i get the following error.
undefined reference to mysql_connect
Please note that I have tried the
ddress : [EMAIL PROTECTED]
[EMAIL PROTECTED]
- Original Message -
From: "Rahul Amaram-RollNo.286" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 08, 2002 6:34 PM
Subject: accessing mysql from C
> whenever
At 22:04 +0530 11/8/02, Rahul Amaram-RollNo.286 wrote:
whenever i try to execute a C file which uses the mysql_connect method
i get the following error.
mysql_connect() is obsolete. Use mysql_real_connect() instead.
undefined reference to mysql_connect
Please note that I have tried th
whenever i try to execute a C file which uses the mysql_connect method
i get the following error.
undefined reference to mysql_connect
Please note that I have tried the following options.
gcc -lmysqlclient file.c
gcc -L /usr/lib/mysql -lmysqlclient file.c
gcc -L /usr/lib/mysql -I /usr/incl