Databases Reference
In-Depth Information
PmaAbsoluteUri
The first parameter we will look at is $cfg['PmaAbsoluteUri'] = '';
Sometimes, phpMyAdmin needs to send an HTTP Location header and must
know the absolute URI of its installation point. Using an absolute URI in this case is
required by RFC 2616, section 14.30.
In most cases, we can leave this one empty as phpMyAdmin tries to auto-detect the
correct value. If we browse a table later, then edit a row, and click on Save , we will
receive an error message from our browser saying, for example, This document does
not exist . This means that the absolute URI that phpMyAdmin built in order to reach
the intended page was wrong, indicating that we must manually put the correct
value in this parameter.
For example, we would change it to:
$cfg['PmaAbsoluteUri'] = 'http://www.mydomain.com/phpMyAdmin/';
Server-specific sections
The next section of the file contains server-specific configurations, each starting with
the following code snippet:
$i++;
$cfg['Servers'][$i]['host'] = '';
If we examine only the normal server parameters (other parameters are covered
in the Installing phpMyAdmin configuration storage section of this chapter), we see a
section that resembles the following code block for each server:
$i++;
$cfg['Servers'][$i]['host'] = '';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['only_db'] = '';
$cfg['Servers'][$i]['hide_db'] = '';
$cfg['Servers'][$i]['verbose'] = '';
 
Search WWH ::




Custom Search