I'm trying to connect to database from remote client.
The thing is: - when I connect to MySQL through SSH (with both SSH and MySQL root for now...), in command line, it works - when I want to connect to MySQL through SSH with a remote tool (Workbench or TablePlus), with same credentials, it doesn't work
Tool configuration:
* host 127.0.0.1
* port 3306 (preset)
* user: root
* password: :-)
* database name : X
* SSL mode: tried DISABLED, REQUIRED, PREFERRED
* over SSH: CHECKED
* server: my IP
* port: 22
* user: root
* password: :-)
Test => gives "access denied for user 'root'@'localhost'
So my first thought would be to look in MariaDB Grant the remote host but I want to understand well what is going on and what the difference is between this tool and me on PUTTY connecting to SSH and then to MySQL...
Thank you!
Is there a difference? each time, some local connexion is made after a SSH login?
Thanks for your help!