How to install phpmyadmin on centos 6

本文涉及的产品
云数据库 RDS MySQL Serverless,0.5-2RCU 50GB
云数据库 RDS MySQL Serverless,价值2615元额度,1个月
简介:

Phpmyadmin :

 

Phpmyadmin is a free tool used to administrate MySQL . Phpmyadmin supports all major operation with MySQL in GUI mode.

 

Using YUM :

Step 1 » Install/enable EPEL repository .

[root@localhost ~]# rpm -ivh http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/epel-release-6-8.noarch.rpm

Step 2 » Now update repositories

[root@localhost ~]# yum update

Step 3 » After updating yum repositories , now you can install phpmyadmin package

[root@localhost ~]# yum install phpMyAdmin

Step 4 » Now restart httpd service

[root@localhost ~]# service httpd restart

Now open the path in your browser ( Eg->  http://192.168.1.1/phpMyAdmin ) . You can see the below screen after entering Mysql root username and password .

 

 

Troubleshooting :

»  #2002 – Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
The server is not responding (or the local server’s socket is not correctly configured).

( This means your mysql server service is stopped , you must start the service  “service mysql start”)

» You don’t have permission to access /phpMyAdmin/ on this server.

Open /etc/httpd/conf.d/phpMyAdmin.conf file and find the lines “Deny from All ” and comment(注释) those lines and restart httpd service

 



本文转自TBHacker博客园博客,原文链接:http://www.cnblogs.com/jiqing9006/p/3342788.html,如需转载请自行联系原作者

相关实践学习
基于CentOS快速搭建LAMP环境
本教程介绍如何搭建LAMP环境,其中LAMP分别代表Linux、Apache、MySQL和PHP。
全面了解阿里云能为你做什么
阿里云在全球各地部署高效节能的绿色数据中心,利用清洁计算为万物互联的新世界提供源源不断的能源动力,目前开服的区域包括中国(华北、华东、华南、香港)、新加坡、美国(美东、美西)、欧洲、中东、澳大利亚、日本。目前阿里云的产品涵盖弹性计算、数据库、存储与CDN、分析与搜索、云通信、网络、管理与监控、应用服务、互联网中间件、移动服务、视频服务等。通过本课程,来了解阿里云能够为你的业务带来哪些帮助     相关的阿里云产品:云服务器ECS 云服务器 ECS(Elastic Compute Service)是一种弹性可伸缩的计算服务,助您降低 IT 成本,提升运维效率,使您更专注于核心业务创新。产品详情: https://www.aliyun.com/product/ecs
相关文章
|
网络协议 应用服务中间件 Linux
CentOS 下安装 phpMyAdmin 4.4
首先去官网下载 phpMyAdmin phpMyAdmin - Files https://www.phpmyadmin.net/files/ 因为 phpMyAdmin 的界面是完全基于您的浏览器,所以您需要一个网站服务器(如 Apache, nginx, IIS)来安装 phpMyAdmin。
348 0
CentOS 下安装 phpMyAdmin 4.4
|
Linux Docker 容器
|
Linux
Centos下pip3 install pycrypto安装失败的解决办法
Centos下pip3 install pycrypto安装失败的解决办法
1489 0
Centos下pip3 install pycrypto安装失败的解决办法
|
Web App开发 关系型数据库 PHP
Install WordPress on Centos
Before beginning, a domain, an ESC or a VPS is needed. Once the ECS or the VPS and the domain are prepared, the following procedures can be conducted.
1084 0
|
Web App开发 Java Linux
|
弹性计算 关系型数据库 Linux
How to Install CMS Made Simple v2.2 on LAMP in CentOS 7.2
In this tutorial, we will be setting up CMS Made Simple on a LAMP stack with an Alibaba Cloud ECS instance (CentOS 7.2).
3867 0
How to Install CMS Made Simple v2.2 on LAMP in CentOS 7.2
|
弹性计算 网络协议 Linux
How to Install and Configure Docker Swarm Mode on CentOS 7
In this tutorial, we will learn how to set up Docker Swarm on an Alibaba Cloud ECS CentOS 7 instance.
2126 0
How to Install and Configure Docker Swarm Mode on CentOS 7
|
Linux 数据安全/隐私保护 编解码
|
关系型数据库 MySQL Linux
|
关系型数据库 MySQL Linux

热门文章

最新文章