Using PHPMyAdmin to administer Amazon RDS

后端 未结 9 1084
挽巷
挽巷 2020-12-02 10:02

I can\'t get PHPMyAdmin to connect to my Amazon RDS instance. I\'ve granted permissions for my IP address to the DB Security Group which has access to this database I\'m tr

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 10:28

    In Debian Lenny using the phpmyadmin from the repo add this to /etc/phpmyadmin/config.inc.php :

    $i++;
    $cfg['Servers'][$i]['host'] = 'xxxxx.xxxxxxxxxx.us-east-1.rds.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'] = 'xxxxxxxxxxxx';
    $cfg['Servers'][$i]['password'] = 'xxxxxxxxxxxxxxxxxx';
    

提交回复
热议问题