sorry for the little information which I thought it was enought
Yes you are right.
CentOS is my server. Windows is my client and my application is running on .NET on the client. and I am also using NaviCat on the client.
I am getting an error on my application when trying to run it. The error is: unable to connect to any of the specified mysql but at the same time I am able to ping and I am able to connect using third-party application NaviCat which I must enable the SSH tunnel in order to connect.
Now answering your questions:
Are all these in the same subnet? What's your network setup?
Yes all under 255.255.255.0. My client IP is 10.0.0.137 and my server IP is 10.0.0.148
What username do you use when connecting with Navicat?
Do you mean the MySQL user? it's root and in the SSH tunnel tab I am using the root of linux.
What username do you use when connecting from application, how is mysql host defined?
I am also using root and this is my connection string: