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