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