to uninstall mysql installed using the package manager
use the package manager to remove it
yum remove mysql
see the manual and help pages for the basic operation of yum
--- and ---
use the <q> button to get out of the manual page
then fallow the build instructions on the mysql page
-- build form source link on the above docs---
but include the option in the configure line " --with-pdo-mysql "
as per the the build guide from the php build instructions
for a listing of possible "build options " for MySQL
run this configure option FIRST - it only outputs a list of options
run this is the SAME folder as the mysql "configure" script
there is no real very simple
"type these 5 commands and you are done "
you need to be able to integrate php with mysql
as in mysql needs to have options turned on that you will need for php
you might want to use the source mysql.src.rpm
in the centos6 "source repo"
and edit the build for that using "rpmbuild"
that way it IS THE SAME version that is used on CentOS6
see chapter #2 of the build from source guide
Apache , php, mysql are all interdependent on each other
this is why i stated in post # 9
I do recommend ,installing from source , for the first few Apache stack installs -- so that you learn how to configure it
the Apache stack is like the Chinese game "go"
5 min. to learn
but a lifetime to master ( or at least a few months for more than just the basics )