Databases Reference
In-Depth Information
A
config.sample.inc.php
file is included, which can be copied and renamed to
config.inc.php
to act as a starting point. However, it is recommended that you use
the web-based setup script (explained in this chapter) instead, for a more comfortable
configuration interface.
There is another ile—
layout.inc.php
—containing some configuration information.
As phpMyAdmin offers theme management, this file contains the theme-
specific colors and settings. There is one
layout.inc.php
per theme, located in
themes/<themename>
, for example,
themes/pmahomme
. We will cover modifying
some of those parameters in
Chapter
4
.
Avoiding false error messages about permissions
on config.inc.php
In its normal behavior, phpMyAdmin verifies that the permissions on this file do
not allow everyone to modify it. This means that the file should not be writable by
the world. Also, it displays a warning if the permissions are not correct. However,
in some situations (for example a NTFS file system mounted on a non-Windows
server), the permission detection fails. In these cases, you should set the following
configuration parameter to
false
:
$cfg['CheckConfigurationPermissions'] = false;
The following sections explain various methods to add or change a parameter in
config.inc.php
.
Configuration principles
phpMyAdmin maintains no user accounts of its own; rather, it uses MySQL's
privilege system.
It might now be the time to browse
http://dev.mysql.com/doc/
refman/5.1/en/privilege-system.html
, to learn the basics
about MySQL's privilege system.
Search WWH ::
Custom Search