In this config directory, we can:
Save the working version of the configuration file during the setup process
Load a previously prepared config.inc.php file
It's not absolutely necessary that we create this configuration directory, because we
could download to our client machine the config.inc.php file produced by the
setup procedure, then upload it to phpMyAdmin in the first-level directory via the
same mechanism (say FTP) that we used to upload phpMyAdmin itself. However,
we'll nonetheless create this directory.
??? ???
Installing phpMyAdmin
[ 24 ]
The principle here is that the web server must be able to write to this directory. There
is more than one way to achieve this. Here is one that would work on a Linux server
(adding read, write, and execute permissions for everyone on this directory):
cd phpMyAdmin
mkdir config
chmod o+rwx config
Having done that, we refresh the page in our browser and we see:
In the configuration dialog, a drop-down menu permits to choose the proper end-ofline
format, according to the platform on which we plan to later open config.inc.
php with a text editor.
A single copy of phpMyAdmin can be used to manage many MySQL servers.
We will now define parameters describing our first MySQL server. In the Servers
section, we click Add and the following screen is shown:
Chapter 2
[ 25 ]
A complete explanation of these parameters can be found in the following sections
of this chapter and in Chapter 11.
Pages:
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47