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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



on 10/11/2007 4:13 PM Rogelio spake the following:
On 10/11/07, Garrick Staples <garrick@xxxxxxx> 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!!!!

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux