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?