LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474

to uninstall mysql installed using the package manager
use the package manager to remove it
Code:
su -
yum remove mysql
see the manual and help pages for the basic operation of yum
Code:
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
http://dev.mysql.com/doc/refman/5.6/en/index.html
-- build form source link on the above docs---
http://dev.mysql.com/doc/mysql-sourc.../en/index.html

but include the option in the configure line " --with-pdo-mysql "
as per the the build guide from the php build instructions
http://php.net/manual/en/ref.pdo-mysql.php

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
Code:
./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

recommended
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
http://dev.mysql.com/doc/mysql-sourc...tribution.html




Apache , php, mysql are all interdependent on each other

this is why i stated in post # 9
Quote:
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 09:07 PM.
 
  


Reply


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 04: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 08:00 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 03:41 AM
is my centOS install 64 bit or not? sneakyimp Linux - Software 2 10-04-2007 01: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 12:00 AM


All times are GMT -5. The time now is 12:46 AM.

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