Using PHPMyAdmin to administer Amazon RDS

后端 未结 9 1078
挽巷
挽巷 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条回答
  •  鱼传尺愫
    2020-12-02 10:35

    sudo nano /etc/phpmyadmin/config.inc.php
    
    --ADD LINES BELOW THE PMA CONFIG AREA AND FILL IN DETAILS--
    $i++;
    $cfg['Servers'][$i]['host']          = '__FILL_IN_DETAILS__';
    $cfg['Servers'][$i]['port']          = '3306';
    $cfg['Servers'][$i]['socket']        = '';
    $cfg['Servers'][$i]['connect_type']  = 'tcp';
    $cfg['Servers'][$i]['extension']     = 'mysql';
    $cfg['Servers'][$i]['compress']      = FALSE;
    $cfg['Servers'][$i]['auth_type']     = 'config';
    $cfg['Servers'][$i]['user']          = '__FILL_IN_DETAILS__';
    $cfg['Servers'][$i]['password']      = '__FILL_IN_DETAILS__';
    

    Save and Exit. Refresh your phpmyadmin page and you'll see a dropdown with the server that you just added

    Source: https://github.com/andrewpuch/phpmyadmin_connect_to_rds, https://www.youtube.com/watch?v=Bz-4wTGD2_Q

提交回复
热议问题