Open MySQL Workbench
Connect to your MySQL server
Open a new SQL tab
Run this query:
`SELECT @@hostname;`
Run this query to get the server IP address:
`SELECT @@global.server_uuid;`
Run this query to see the current connection details:
`SHOW VARIABLES LIKE ‘hostname’;`
Run this query to check the MySQL port:
`SHOW VARIABLES LIKE ‘port’;`
Check the connection settings in MySQL Workbench
Go to `Database` > `Manage Connections`
Select your connection
View the `Hostname` field
If you mean the application server address, check the host machine’s network settings
If you mean the public IP, check the server’s external network interface
