getaddress() Method
Returns the host name that was used to connect to the database.
Syntax
connection.getaddress()
Returns
Returns the host name that was used to connect to the database. The port number is not included.
Returns the host name that was used to connect to the database.
connection.getaddress()
Returns the host name that was used to connect to the database. The port number is not included.