?
Solved

Install MySQL 5.6 and PHP on Centos Linux

Posted on 2016-11-07
6
Medium Priority
?
217 Views
Last Modified: 2016-11-18
Hello,

How can I install MySQL 5.6 and PHP through Centos GUI?
I am new to Linux and need as many details as possible.

Thanks.
0
Comment
Question by:exhuser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 35

Expert Comment

by:Dan Craciun
ID: 41877971
On Centos use yum. It's the official package manager.

Here's the documentation:
https://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/linux-installation-yum-repo.html

HTH,
Dan
1
 

Author Comment

by:exhuser
ID: 41877975
I don't see version 5.6 listed under http://dev.mysql.com/downloads/repo/yum/
0
 

Author Comment

by:exhuser
ID: 41877988
Also, there is nothing for CentOS, only Fedora and RedHat
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 35

Accepted Solution

by:
Seth Simmons earned 1000 total points
ID: 41878010
I don't see version 5.6 listed under http://dev.mysql.com/downloads/repo/yum/

these are not the mysql binaries; it is the repository that contains the binaries
you install that rpm file that allows yum to access the mysql binaries in that repository

Also, there is nothing for CentOS, only Fedora and RedHat

you want the ones for Red Hat
CentOS is the same thing as Red Hat - minus the Red Hat artwork and paid support
Fedora is a Red Hat project; it has the latest and greatest features that will appear in Red Hat Linux in the future but has a short release and support cycle
0
 
LVL 79

Assisted Solution

by:arnold
arnold earned 500 total points
ID: 41879904
Centos/redhat builds OS application versions. And maintains them, if you have centos 6 and lower, MySQL 5.1 an older are the only options offered through the yum "official" repositories.
As was suggested, you can MySQL.com and get an rpm, though you may have to get.....

What features do you need that you require MySQL 5.6 that you can not get with 5.1 or check/install centos 7, I think it provides MySQL version 5.6.
0
 
LVL 25

Assisted Solution

by:Tomas Helgi Johannsson
Tomas Helgi Johannsson earned 500 total points
ID: 41883607
Hi!

CentOS and Fedora are the open-source community driven clones of RedHat.
What CentOS version are you using ? Issue
cat /etc/redhat-release

Open in new window

in command line for that. :)
When you install Centos then either MySQL or MariaDB (a mysql clone) are installed.
To check if you have the database already installed either issue
cat /etc/my.cnf

Open in new window

or
service mysql status

Open in new window

or
service mysqld status

Open in new window

.
If you don't get any output then issue
yum list mysql*

Open in new window

and you get all the MySQL components available including the server in the default CentOS repo for your CentOS version. Same goes for MariaDB
yum list mariadb*

Open in new window


Regards,
    Tomas Helgi
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question