Protocol used by JDBC to connect to MySQL on different Host

Ajinkya Mahagaonkar picture Ajinkya Mahagaonkar · Aug 8, 2014 · Viewed 10.2k times · Source

I want to know what is the protocol that is used by JDBC to connect to MySQL Database that is present on an other host.

My client has only http and https access restricted to his host. I want an application on an other host to communicate with that MySQL Database available on my client's host.

Please note my Client uses WINDOWS 2012 SERVER

He has asked me the protocols and ports my application is using to connect to MySQL so that he would enable them.

Request you to help.

Answer

vhu picture vhu · Aug 8, 2014

By default MySQL server listens on port 3306/TCP. See manual for more details.