I am trying to connect Mysql server form my desktop using ssh tunnel but I am getting below error:
[Note] Aborted connection 98 to db: ‘example’ user: ‘example_user’ host: ‘localhost’ (Got an error reading communication packets)
Here are my details:
SSH host: mysql.example.com
SSH port: 22
SSH user: user
SSH pass: ********
DB host: 127.0.0.1
DB user: db_user
DB password: *******
DB name: db_example
DB port: 3306
I am able to connect to ssh without any problem.
I am using Ubuntu CentOS 5.11 and MySQL server 5.6
Please help where I am doing mistake.