Databases Reference
In-Depth Information
Using the config authentication type leaves our
phpMyAdmin open to intrusion, unless we protect it as
explained in the Security section of this chapter.
Here we enter our username and password for this MySQL server:
$cfg['Servers'][$i]['user'] = 'marc';
$cfg['Servers'][$i]['password'] = 'bingo';
We can then save the changes we made in config.inc.php .
Testing the First Connection
Now it's time to start phpMyAdmin and try connecting for the first time. This will
test the following:
The values we entered in the config file or on the web-based setup
The setup of the PHP component inside the web server - if we did a manual
coniguration
Communication between web and MySQL servers
Due to a problem in phpMyAdmin 2.8.0 to 2.8.2, for these versions we should close
all windows of our browser at this point.
We start our browser and point it to the directory where we installed phpMyAdmin,
as in http://www.mydomain.com/phpMyAdmin . If this does not work, we try
http://www.mydomain.com/phpMyAdmin/index.php . (This would mean that our
web server is not configured to interpret index.php as the default starting document.)
If you still get an error, refer to Chapter 19, Troubleshooting and Support . We should
now see phpMyAdmin's home page. Chapter 3 gives an overview of the panels
seen now.
Multi-Server Configuration
The config.inc.php file contains at least one server-specific section but we can add
more, enabling a single copy of phpMyAdmin to manage many servers. Let us see
how to configure more servers.
 
Search WWH ::




Custom Search