Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7655251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:27:58+00:00 2026-05-31T12:27:58+00:00

I decided to put an AWS related Q here after having asked on aws

  • 0

I decided to put an AWS related Q here after having asked on aws dev forum and did not find a solution.

I have also followed the steps given on a repeat question here

Can someone please tell me where I am making the wrong move.

My EC2 instance is in us-west-1c (linux) and has phpmyadmin installed in it.
My RDS is also in us-west-1c
My security grp common to EC2 and RDS has http/ssh/mysql ports configured.

I am able to connect to my rds from my instance using mysql_connect() in php,
but if I give my rds endpoint as a host in phpmyadmin (config.inc.php) it does not respond.

This is how my config.inc.php looks like

$cfg[‘Servers’][$i][‘host’] = ‘xx.amazonaws.com’;

$cfg[‘Servers’][$i][‘port’] = ‘3306’;

$cfg[‘Servers’][$i][‘socket’] = ”;

$cfg[‘Servers’][$i][‘connect_type’] = ‘tcp’;

$cfg[‘Servers’][$i][‘extension’] = ‘mysql’;

$cfg[‘Servers’][$i][‘compress’] = true;

$cfg[‘Servers’][$i][‘auth_type’] = ‘config’;

$cfg[‘Servers’][$i][‘user’] = ‘xxx’;

$cfg[‘Servers’][$i][‘password’] = ‘xxx’;

Am I missing something here ?

thank you very much in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T12:28:00+00:00Added an answer on May 31, 2026 at 12:28 pm

    You have to allow outside connections in the httpd conf:

    sudo nano /etc/httpd/conf.d/phpmyadmin.conf
    

    Update it to:

    <Directory "/usr/share/phpmyadmin">
      Order Deny,Allow
      Allow from all
    </Directory>
    

    Then restart apache

    sudo service httpd restart
    

    You only need to update the following in the phpmyadmin/config

    sudo nano /usr/share/phpmyadmin/config.inc.php
    
    $cfg['blowfish_secret'] = 'somerandomtext';
    $cfg['Servers'][$i]['host'] = 'xxx-your-service-host.rds.amazonaws.com';
    

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have seen this for a long time, and finally decided to put the
As an optimization, I decided to put an object I frequently need - an
I decided to learn C++ (I program in C at work), and I have
I've decided to put a landing page on my website goldhat.org . I want
I had a boss, past-tense, who decided to put svn branches in the same
would like to put fieldSets side-by-side on my Edit page because I have so
I have a bunch of Objects from the same Class in Python. I've decided
Background information: I've searched stackoverflow for a specific solution and couldn't find one that
I've decided to put all my constants in a neat class called constants, and
In an effort to brush up on some multithreading/sorting fun, I decided to put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.