Help us understand the problem. What is going on with this article?

aws EC2にてApache+PHP5.6+Mysql+phpMyAdmin+PostgreSQL

PostgreSQLインストール
sudo yum -y install postgresql postgresql-server postgresql-libs
sudo yum install postgresql-server postgresql-devel postgresql-contrib
sudo vi /var/lib/pgsql9/data/postgresql.conf
sudo vi /var/lib/pgsql9/data/pg_hba.conf
sudo /etc/rc.d/init.d/postgresql start

phpMyAdminの設定は下記手順が必要の様。
インストールは下記の様に。
sudo yum --enablerepo=epel install phpMyAdmin php56-mcrypt php56-mysql

install後
vi /etc/httpd/conf.d/phpMyAdmin.conf
にて下記


AddDefaultCharset UTF-8
 下記2行追加
AllowOverride all
Require all granted


# Apache 2.4

Require ip 127.0.0.1
Require ip ::1



# Apache 2.2
Order Deny,Allow
#Deny from All
Allow from 127.0.0.1
Allow from ::1
Allow from All

Aapache2.4での

cat /var/log/mysqld.log | grep 'password is generated'

パスワード確認:xxxpasswordxxx

/etc/rc.d/init.d/mysqld stop

ps aux| grep mysqld

mysqld_safe --skip-grant-tables &

mysql> FLUSH PRIVILEGES;

mysql> set password for root@localhost=password('xxxpasswordxxx');

Mysql再起動
Apache再起動

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away