Answer the question
In order to leave comments, you need to log in
Why can't I connect to remote Mysql via DBeaver?
I'm trying to connect to a remote database
Attempts to connect via SSH via the console are successful
Connecting sudo mysql -u login -p
Authorization is set to login and password mode, not socket
I can't connect via DBearer. Mistake
Communications link failure
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
netstat -tlpn
issuestcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
Answer the question
In order to leave comments, you need to log in
Use an SSH tunnel. Look in the connection settings in DBeaver, there is such an option.
No need to shine port 3306 into the world - it will end badly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question