Saturday, October 19, 2019

How To Connect AWS RDS With PhpMyAdmin(Debian)

STEP 1. Updating Packages.

# apt-get update
STEP 2. Installing Web Server.
# apt-get install apache2 -y
STEP 3. Installing Mysql-Server.
# apt-get install mysql-server -y
STEP 4. Installaing php5.
# apt-get install php5-cgi -y
STEP 5. Installing PhpMyAdmin.

# apt-get install php5-cgi php5-mysql php5-mcrypt php5-intl libapache2-mod-auth-mysql php5-mysql libapache2-mod-php5 php5-common -y
# apt-get install unzip -y
# cd /var/www
# mkdir phpmyadmin
# wget
# unzip
# cd phpMyAdmin-
# mv * /var/www/phpmyadmin
# cd
Note:For Check PhpMyAdmin is working Properly You Have to enter following command from your web

STEP 6. Setting up PhpMyAdmin To Connect with RDS.

Copy to
# cd /var/www/phpmyadmin
# cp
STEP 7. Edit the config file.
# vim /var/www/phpmyadmin/
$cfg[‘Servers’][$i][‘host’] = ‘EndPoint’;
$cfg[‘Servers’][$i][‘port’] = ‘3306’;

Note: My EndPoint is ‘’.
STEP 8. Change Permission of
# chmod 755 /var/www/phpmyadmin/
STEP 9. Open PhpMyAdmin From Your Web.
Note: Use the Same Username and Password which you have Created while Creating RDS.
STEP 10. After successfull Login it will be Appear like this.

No comments:

YouTube Channel