0) {
$local_query = 'SELECT VERSION() as version, USER() as user';
$res = mysql_query($local_query) or mysql_die('', $local_query, FALSE, '');
echo 'MySQL ' . mysql_result($res, 0, 'version') . ' ' . $strRunning . ' ' . $cfgServer['host'];
if (!empty($cfgServer['port'])) {
echo ':' . $cfgServer['port'];
}
// loic1: connection with socket is only available since php 3.0.10
if (!empty($cfgServer['socket']) && PHP_INT_VERSION >= 30010) {
echo ':' . $cfgServer['socket'];
}
echo ' ' . $strRunningAs . ' ' . mysql_result($res, 0, 'user') . '
' . "\n";
} // end if
/**
* Reload mysql (flush privileges)
*/
if (($server > 0) && isset($mode) && ($mode == 'reload')) {
$result = mysql_query('FLUSH PRIVILEGES'); // Debug: or mysql_die('', 'FLUSH PRIVILEGES', FALSE, 'main.php3?lang=' . $lang . '&server=' . $server);
echo '';
if ($result != 0) {
echo $strMySQLReloaded;
} else {
echo $strReloadFailed;
}
echo '
' . "\n\n";
}
/**
* Displays the MySQL servers choice form
*/
if ($server == 0 || count($cfgServers) > 1) {
?>
0)
{
?>
MySQL |
 |
|
 |
|
 |
|
 |
|
 |
|
 |
|
= 32303) {
echo "\n";
?>
 |
|
logout
if ($cfgServer['adv_auth'])
{
?>
 |
(*)
|
|
|
0)
/**
* Displays the phpMyAdmin related links
*/
?>
|