I am new to Amazon web services and I have no knowledge of operate this service. I recently created a mysql database using Amazon RDS and now want to access phpmyadmin to import an existing database to Amazon RDS, but after spending a lot of my time I could not got any solution to solve this problem.
Can anyone please help me to find out the solution.
In RDS Security group open inbound port 3306 to give phpMyAdmin access to MySQL. You can give which IP address of the server where phpMyAdmin is installed in the Security group. Now log in to phpMyAdmin using the password you created by visiting the URL: https:///phpmyadmin.
Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/ . In the navigation pane, choose Databases to display a list of your DB instances. Choose the name of the MySQL DB instance to display its details. On the Connectivity & security tab, copy the endpoint.
To connect to a private RDS DB instance from a local machine using an EC2 instance as a jump server, follow these steps: Launch and configure your EC2 instance and configure the network setting of the instance. Configure the RDS DB instance's security groups. Connect to the RDS DB instance from your local machine.
There is a way of configuring phpadmin on you local machine or server to connect straight to your amazon database, but this would require you to have the connection string for your amazon database. look around the settings for your amazon database server and get the IP/URL, db_name, user_name and password. After getting all these files follow these steps
find this block of code and copy it (the whole block)
$i++;
/* Authentication type */
$cfg['Servers'][$i]['verbose'] = 'mysql wampserver';
//$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
change the copy below to match your amazon site, host is the ip/url of the database server, user is for user-name and password...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With