• Call Us: +92-333-7276335
  • - Mail Us: info@shekztech.com

Plot 1177, Sector 31B - Crossing, Karachi, Sindh

Loading...
How to access phpmyadmin using putty for wordpress lightsail
  • Views: 4.7K
  • Category: AWS
  • Published at: 11 May, 2019
  • Updated at: 12 Aug, 2023

How to access phpmyadmin using putty for wordpress lightsail

How to access PHPMyAdmin using Putty for wordpress lightsail

 

If you are new to amazon lightsail, it's difficult to access your AWS lightsail PHPMyAdmin because you can't access your database directly from the URL, i.e., www.yourDomainName.com/phpmyadmin.

So before accessing your phpMyAdmin via SSH tunnel, you need SSH client PuTTY free for Windows and UNIX platforms. So download putty.exe and also puttygen.exe from the official website.

 

download the putty.exe for SSH

download the puttygen.exe for key generation utility

Step1: Now you need the SSH Access; before downloading it go to the lightsail and select your instance, then click on the options button and select the Manage option

connect instance on lightsail

Now find the account page link and click on it. A new page appears.

find account page on lightsail

Now download the key and keep that key in a folder where you keep the putty.exe and puttygen.exe files.

download the SSH key on lightsail

Step:2 Open the puttygen.exe and load your key by clicking on the load button; it will not show you the .pem file, change the file types all files; now it will show you the .pem file, a popup appears, click ok, and then click on the Save private key button, give you key name, i.e., myKey and keep it on the same folder, it's a .ppk file.

generate ppk file using puttygen

Step 3: Now click on the putty; you need the IP of your instance, i.e., 13.127.193.234; get your IP from amazon lightsail; add your IP in the Host Name field and also in the session field.

add ip in putty

Step4: Now open the SSH and click on the Auth and click on the browse button; choose your .ppk file

select your ppk file

Step 5: Click on the Tunnels add 8888 in the source port and localhost:80 in Destination, and don't forget to click on the add button.

adding the tunnels in putty for lightsail

Step 6: Now, click on the Data and add the user bitnami in the Auto-login username.

adding bitnami as user in putty

Step 7: Click on the Session and click on the open button. Note: if you have a default session, please select the Session which you have inserted.

click session and open

Step 8: Now, a window appears like this.

showing bitnami console in putty

If Putty asks you about cached, this key clicks on the yes button.

cach the key

Step 9: Go to the browser and type localhost:8888/PHPMyAdmin. It will ask you about credentials to access the database using the root as username, and if you have the password, then add it; otherwise, get your password by accessing SSH on lightsail.

open phpmyadmin

use the credentials for phpmyadmin in lightsail suing putty

Congratulation, you have successfully accessed your lightsail PHPMyAdmin panel using Putty.

php logged in using lightsail

 

Learn How To Use AWS Lightsail Hosting For WordPress

https://www.youtube.com/watch?v=VAA7FExlQd

Shehzad Ahmed

Shehzad Ahmed is a highly qualified expert with a Master of Philosophy in Computer Science and a decade of extensive industry experience. With his impressive track record in web development and computer science, he has not only left an indelible mark on the industry but also made substantial contributions to education. Since , he has created more than eighty exhaustive courses, paving the way for innumerable individuals interested in learning and development. His unparalleled knowledge and innate ability to elucidate complex ideas make him a highly sought-after educator and consultant. Choose Shehzad and take advantage of his exceptional balance of technical expertise and teaching prowess to propel your learning journey or project to new heights.

0 Comment(s)
Write your comment