1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AWSのRDBにphpMyAdminで接続する

Last updated at Posted at 2019-01-22

背景

先日設定した環境のRDBにphpMyAdminで接続してMySQLを色々操作したい。

まず確認

セキュリティーグループが設定できているか確認

コンソール画面からRDBインスタンスの設定を確認
RDS · AWS Console 2019-01-23 08-02-53.png

3306にポートを通してます。
RDB - EC2 Management Console 2019-01-23 08-05-22.png

phpMyAdminの設定

ディレクトリ移動して

$ cd /var/www/html/phpMyAdmin

configファイルをコピー

$ cp config.sample.inc.php config.inc.php

下記のリンクを参考にconfigファイルを編集する。

phpMyAdminでAWSのRDS接続する

接続できました

phpMyAdmin2019-01-23 08-11-32.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?