From 80cd46bcd405d7f7a5ca20aa49665a9c3a295496 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 23 Jul 2003 11:07:20 +0000 Subject: [PATCH] IP address in host --- Documentation.html | 2 +- config.inc.php3 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation.html b/Documentation.html index f44583c84..6a2278ca9 100755 --- a/Documentation.html +++ b/Documentation.html @@ -427,7 +427,7 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
$cfg['Servers'][$i]['host'] string
- 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.

diff --git a/config.inc.php3 b/config.inc.php3 index f91c55d43..8545e80d3 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -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')