[CentOS] Re: finding mysql.h & errmsg.h on CentOS?

Scott Silva ssilva at sgvwater.com
Thu Oct 11 23:16:36 UTC 2007

on 10/11/2007 4:13 PM Rogelio spake the following:
> On 10/11/07, Garrick Staples <garrick at usc.edu> wrote:
>> 'yum provides mysql.h' tells you that /usr/include/mysql/mysql.h is in the
>> mysql-devel package.  'yum install mysql-devel' will install that package.  Run
>> configure again and carefully watch the output to see if everything you want is
>> detected.
> Perfect, thank you.
> After I ran "yum install mysql-devel", I was able to run "make clean
> && ./compile && make" again and then copy the binaries over to the
> /usr/bin folder
> However, I get the following error now, which I suspect is a MySQL issue?
> [root(at)localhost bin]# pwd
> /usr/bin
> [root(at)localhost bin]# ndo2db -c /etc/nagios/ndo2db.cfg
> Could not bind socket: No such file or directory
> [root(at)localhost bin]#
> I checked my /etc/my.cnf file, and the socket looks like it's ok
> ("socket=/var/lib/mysql/mysql.sock")
> Any suggestions?
Is mysql-server installed and running?

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

More information about the CentOS mailing list