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