Strictly speaking, we do not
log in to phpMyAdmin but through phpMyAdmin.
Using the config authentication type leaves our phpMyAdmin open to
intrusion, unless we protect it, as explained in the Security section of this
chapter.
Chapter 2
[ 31 ]
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 configuration
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, the Troubleshooting and Support. We
should now see phpMyAdmin's home page.
Pages:
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55