LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux mysql problems (https://www.linuxquestions.org/questions/linux-newbie-8/linux-mysql-problems-664989/)

eon 08-24-2008 05:34 AM

linux mysql problems
 
i m using fedora 9, i am unable to access mysql through C as it doesnt contains mysql.h

earlier suse 10.3 had hat file.

pls help wht should i do to access mysql through c.

billymayday 08-24-2008 05:45 AM

Have you tried installing mysql-devel?

eon 08-24-2008 01:25 PM

thanks but what is mysql-devel and from where can i find it???

Nylex 08-24-2008 01:29 PM

mysql-devel should be the package that contains files for development using the MySQL C API (i.e. the header files). Many distros separate those files from the shared object files that contain the compiled functions (e.g. something like libmysql.so). You should be able to find the package by using Fedora's package manager.

billymayday 08-24-2008 05:16 PM

or

yum install mysql-devel

as root. Sorry - assumed yum knowledge - my mistake


All times are GMT -5. The time now is 08:06 AM.