IP address in host

This commit is contained in:
Marc Delisle
2003-07-23 11:07:20 +00:00
parent 51f566e4df
commit 80cd46bcd4
2 changed files with 2 additions and 2 deletions

View File

@@ -427,7 +427,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
<dt><b>$cfg['Servers'][$i]['host']</b> string</dt>
<dd>
The hostname of your $i-th MySQL-server. E.g. localhost.
The hostname or IP address of your $i-th MySQL-server. E.g. localhost.
<br /><br />
</dd>

View File

@@ -66,7 +66,7 @@ $i = 0;
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use $cfg['Servers'][0].
// You can disable a server config entry by setting host to ''.
$i++;
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')