Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-16-2013, 09:58 PM   #16
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,225

Rep: Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521Reputation: 2521

to uninstall mysql installed using the package manager
use the package manager to remove it
su -
yum remove mysql
see the manual and help pages for the basic operation of yum
yum --help
--- and ---
man yum
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
./configure --help
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 )

Last edited by John VV; 04-16-2013 at 10:07 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit odbc driver problem beetween RHEL and AS400 iseries - huge memory php/pdo sk9990_1 Red Hat 1 01-27-2014 05:03 AM
LXer: Install HVM FreeBSD 7.0 DomU (32-bit) at Xen 3.2.1 CentOS 5.1 Dom0 (64-bit) LXer Syndicated Linux News 0 05-01-2008 09:00 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
is my centOS install 64 bit or not? sneakyimp Linux - Software 2 10-04-2007 02:17 AM
LXer: Install Xen 3.1 Solaris domU (64 bit) under CentOS 5 dom0 (64 bit) LXer Syndicated Linux News 0 09-21-2007 01:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration