[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Install MySQL 5.6 and PHP on Centos Linux

Posted on 2016-11-07
6
Medium Priority
?
242 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
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 80

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

649 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