MySQL show current connection info Hostname and Port Number ?

If you want to know the port number of your local host on which Mysql is running you can use this query on MySQL Command line client SHOW VARIABLES WHERE Variable_name = 'port'; If you want to know the hostname of your Mysql you can use this query on MySQL Command line client SHOW VARIABLES … Continue reading MySQL show current connection info Hostname and Port Number ?

Advertisements