Seems that I cannot locate mysql DIR only bunch of binary files under /usr/bin

I used yum to install

mysql
mysql-server
mysql-devel

and tried to install mysql and I used /init.d/mysqld to have started it.

But when I want to compile PHP , the option --with-mysql need the base DIR of mysql ...where should I use? /usr/bin?

link|improve this question

20% accept rate
feedback

1 Answer

Have you tried: /usr/local/mysql/bin?

link|improve this answer
no mysql directory under /usr/local – Jusfeel May 23 '11 at 3:45
Did you look in /usr/bin for the binaries? – Justin Pearce May 23 '11 at 18:51
Yes, that's the only place that I thought MySQL yum install had been installed files to.. – Jusfeel May 24 '11 at 6:41
Depending upon the distro and/or package it usually puts things in either /usr/bin or /usr/local/bin. Glad you got it sorted! – Justin Pearce May 24 '11 at 18:43
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.