Using Netcat to check connectivity to mysql on port 3306

Netcat is a tool in linux which can be very powerful is used correctly.

If you want to check the default port is pingable for mysql i.e. 3306 you can validate it via netcat


[ankit.mittal@bastion.test2]# nc -vz master-db.unixcloudfusion.in 3306
Connection to master-db.unixcloudfusion.in 3306 port [tcp/mysql] succeeded!

Comments

Popular posts from this blog

[Solved] Gitlab remote: ERROR: Your SSH key has expired.

[Resolved] groupVersion shouldn't be empty

[Solved] Fingerprint sha256 has already been taken