Does anyone know a function that will return the hostname of the mysql
server you are connecting to?

 

Just as:

mysql> select database();

returns the database you're connected to, I need to display the host I'm
connected to.

 

Similar to the oracle statement: select host_name from v$instance;

 

Thanks,

Brian Stanton

 

Reply via email to