• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

Install MySQL 5.6 and PHP on Centos Linux

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
exhuser
Asked:
exhuser
3 Solutions
 
Dan CraciunIT ConsultantCommented:
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
 
exhuserAuthor Commented:
I don't see version 5.6 listed under http://dev.mysql.com/downloads/repo/yum/
0
 
exhuserAuthor Commented:
Also, there is nothing for CentOS, only Fedora and RedHat
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
Seth SimmonsSr. Systems AdministratorCommented:
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
 
arnoldCommented:
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
 
Tomas Helgi JohannssonCommented:
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now