Re: cannot excute a C api to work with MySQL on Redhat 9.0 Linux
Posted by: Nguyen Cong Danh
Date: May 18, 2005 12:18AM

Dear Jesse,
I thanks very much about your answer.
However, I'm sorry, because I have a mistake to show my command that I typed.
I really type as you show me:
>gcc -I/usr/include/mysql connect1.c -o connect1 -L/usr/lib/mysql -lmysqlclient
The compiler showed me the same error.
Long time ago, I connected using C api to work with MySQL for MS Windows . At that time I had to install more a package: mysqlc++. I run successlly C api by using C++ compiler.
Now, I learn to use MySQL on Linux. I has never used Linux before. So, I do not know that for Linux, beside installing MySQL and C, we have to add more any package or not.
I thankyou very much again!
Best regards,
Danh

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: cannot excute a C api to work with MySQL on Redhat 9.0 Linux
559
May 18, 2005 12:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.