P
P
proger_rr2015-08-24 18:33:47
MySQL
proger_rr, 2015-08-24 18:33:47

How to connect to the database via ssh in PhpStorm?

I set up a connection to a remote mysql database in phpStorm
, here are two connection screens prntscr.com/88c72i prntscr.com/88c7ih instead of myHost, the ip of the server on which ssh access is configured is specified.
Through the HeidiSql program, I manage to connect to the database with these settings, but through phpStorm it fails, it gives the following error - failed: SSH: Auth cancel
Mysql driver there is a window prntscr.com/88c8qi
Help pliz who faced this problem, nothing in Google did not find it (

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dataparser, 2015-09-08
@proger_rr

Same problem. However, if you use authorization by key, it works.

O
Optimus, 2015-08-24
Pyan @marrk2

Is remote access to MySQL allowed on the server? I came across that in the panel you check the box "allow" but there is no access, you have to manually register in my.cnf

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question