I am new to this, any help is appreciated.
I am running phpMyAdmin on my local ubuntu machine. I want to access my mysql database on my Amazon-EC2 instance which is running ubuntu as well. Is there anyway to do this?
To connect to EC2 using ssh I am using a pem keyfile. How should I configure phpMyAdmin to use this file for login?
Related
How to connect my Django app to MySQL DB via ssh. I have a MySQL DB hosted in Namecheap. I can connect to it via ssh using a terminal, is there any way I can do that??
You might be able to set up an SSH tunnel.
https://www.ssh.com/academy/ssh/tunneling/example
I installed LAMP on a VM instance on Google cloud but when i try to access mysql database remotely from my linux terminal using
$ mysql -u username -h ipaddress -p
after entering password nothing happens (no error). I tried accessing it locally via ssh it works.
Is there any other setting on cloud platform. I need to change before accessing database from a remote pc. Followed this tutorial but it just stops after entering password.
Tried commenting out bind address but didn't work. Need help.
Just to be clear, are you using the mysql command on your remote machine or through SSH?
Normally, you should never allow external access to remote MySQL for security reasons, especially if the only app accessing the data is local. (however, it's unclear if that is the reason why you can't connect)
This is how you should connect:
Connect to your remote VM using SSH (ex: ssh user#ipaddress)
THEN, connect to your MySQL instance.
When connecting using a DB editor, some editors allow MySQL connections through SSH. Sequel Pro for Mac does this very well.
I successfully installed lampp in my Ubunto Server and connect to mysql server in the remote PC. After I added the security settings I wasn't able to connect to database anymore.
Badly needed your ideas. I'm a newbie for this one.
How can I connect to the mysql database remotely?
How can I create a mysql database on my own pc and remote connect to it from external source?
What do I need?
You can try and use XAMPP
Find it here: http://www.apachefriends.org/en/xampp-windows.html
It will let you host Mysql server inlcuding PHPMyAdmin. If you open your ports, you can connect remotely to PHPMyAdmin and manage your Mysql database.
Anybody setup a connection to an external mysql database, only available via SSH, in their symfony app? Can this be done in the parameters.yml?
You have to open an SSH tunnel. See Can I SSH to MySQL with the GUI tools? or Access Your MySQL Server Remotely Over SSH.
For parameters.yml this looks like a local MySql server, wich menans there's nothing special.