0

I can access the linux server via SSH and I installed a version of Magento, and I know the mysql credentials, so the magento works fine. I need however to access the database on this server from my remote machine. I try using the SSH access externally, so from Sequel Pro I am getting this error message: MySQL said: Access denied for user 'vlado0'@'127.0.0.1' (using password: YES) and same way from MySQLWorkbench, I get an error message Incompatible ssh server (no acceptable macs). So, I am not able to get to the database externaly, even though I have the SSH access to it. What do I have to set more to be able to access the DB on the linux? I don't want, however, everyone to be able to access it, so I don't want to open the port 3306 to everyone.

Vladimir Despotovic
  • 3,200
  • 2
  • 30
  • 58
  • 1
    SSH access is not the same as access to the database. – OptimusCrime Oct 18 '17 at 12:59
  • https://stackoverflow.com/q/8348506 – Soolie Oct 18 '17 at 13:00
  • @OptimusCrime when I connect with SSH, I can also connect and do queries to the database from the terminal command line. I want to have an IDE though (like Mysqlworkbench). This is my problem, I can't use the mysqlworkbench or any other IDE of this type, for that matter. – Vladimir Despotovic Oct 18 '17 at 21:15

1 Answers1

1
'vlado0'@'127.0.0.1

Means: User 'vlado0' connecting from '127.0.0.1'. If you're not in the same machine as the SQL server, then you need a user@your_ip or user@% (% means any) account.

So open your SQL server and create an account that matches the route you're going to use.

LordNeo
  • 1,195
  • 1
  • 8
  • 21