how to get phpmyadmin ip address code example Example: phpmyadmin get actual ip select * from GLOBAL_variables where variable_name like 'hostname';