How to Access phpMyAdmin on AWS Lightsail (Secure SSH Tunnel Method)
- Published
- Jan 6, 2026
- Duration
- 4:52
Video description
AWS Lightsail doesn’t provide a one-click button for phpMyAdmin — and that’s actually a good thing for security. In this video, I’ll show you exactly how to access phpMyAdmin on AWS Lightsail using a secure SSH tunnel, without opening any database ports to the public internet. In this tutorial, you’ll learn: How to create a secure SSH tunnel for phpMyAdmin How to open a second terminal to SSH into your server How to retrieve your WordPress database credentials Why phpMyAdmin disconnects when the SSH tunnel is closed Helpful step-by-step guides (linked below): If you want a deeper breakdown of specific steps, these guides walk through everything in detail: 🔐 Create an SSH tunnel on AWS Lightsail https://manzari.com/wordpress-tutorials/create-an-ssh-tunnel-on-aws-lightsail-bitnami/ 💻 How to SSH into an Amazon Lightsail server https://manzari.com/wordpress-tutorials/how-to-ssh-into-an-amazon-lightsail-server/ 📥 How to download your SSH (P-E-M) key from AWS Lightsail https://manzari.com/wordpress-tutorials/how-to-download-your-pem-file-in-aws-lightsail/ This method works on Windows, macOS, and Linux — only the SSH key file path changes. 🔒 Using an SSH tunnel keeps your database private and avoids exposing MySQL or phpMyAdmin to the public internet. If you found this helpful, consider subscribing for more WordPress, AWS, and server tutorials.