diff --git a/ChangeLog b/ChangeLog
index 70f5db0611..d5edb61068 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
+2001-10-23 Robin Johnson
phpMyAdmin always gives "Access denied" when using advanced
- authentication.
-
- $cfgServers[n]['stdpass'] string
+ $cfgServers[n]['user'] string
+ $cfgServers[n]['password'] string
- Since phpMyAdmin 2.2.1-rc3 this setting is available with both standard
- and advanced authentication. This "fake" user must be able to connect
- to MySQL and read the mysql.User and mysql.Db
- tables.
- Please note that if you try a phpMyAdmin login with this stduser, you
- could get some errors, depending on the exact privileges you gave to
- this stduser. phpMyAdmin does not support a direct login with the
- stduser.
-
+ The user/password-pair which phpMyAdmin will use to connect to this
+ MySQL-server. These are not needed when advanced authentication is used,
+ and should be empty.
- See also the FAQ section for more information about security.
+ Please see the security section in the FAQ for more information.
- $cfgServers[n]['password'] string
+ $cfgServers[n]['stduser'] string
+ $cfgServers[n]['stdpass'] string
- While $cfgServers[n]['user'] is always required,
- $cfgServers[n]['password'] is not needed when using advanced
- authentication (let it empty in this case).
+ When using advanced authentication mode, you need to supply the details
+ of a MySQL account that has SELECT access on the mysql.db &
+ mysql.user tables. This account is used to check the privileges
+ user logins. Please see the security section in the FAQ for more
+ information.
- This setting is an efficient way to lower the server charge since the
- later does not need a to send requests to MySQL to build the databases
- list.
+ all other databases can't be used.
@@ -431,9 +422,9 @@
- Note that stduser must have Select_Priv, Insert_Priv
- and Delete_Priv set to "Y" in mysql.db table for the
- bookmark database.
+ If you are using advanced authentication, users must have
+ Select_Priv, Insert_Priv and Delete_Priv set to "Y"
+ in mysql.db table for the bookmark database.
@@ -773,19 +764,15 @@
- This could happen for some reasons:
+ authentication.
+ This could happen for several reasons:
- This requires a properly setup MySQL user management and phpMyAdmin's
- advanced authentication. phpMyAdmin performs these steps, when
- authenticating a user:
+ This requires a properly setup MySQL user management and phpMyAdmin
+ advanced authentication.
- This means that you need to add a user to the mysql database as
- following:
- INSERT INTO user (Host, User, Password, Select_priv, Insert_priv, Update_priv,
- Delete_priv, Create_priv, Drop_priv, Reload_priv, Shutdown_priv, Process_priv,
- File_priv, Grant_priv, References_priv, Index_priv, Alter_priv) VALUES ('localhost',
- 'foo', PASSWORD('bar'), 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N',
- 'N', 'N', 'N')
- INSERT INTO db (Host, Db, User, Select_priv, Insert_priv, Update_priv, Delete_priv,
- Create_priv, Drop_priv, Grant_priv, References_priv, Index_priv, Alter_priv)
- VALUES ('localhost', 'foo_db', 'foo', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', '', '',
- '', '')
- Then only the "foo_db" database will be displayed to user
- "foo".
+ phpMyAdmin needs a control account that has only the SELECT privilege on the
+ mysql.db & mysql.user tables. You specify the details for
+ this account in the config.inc.php3 file under the $cfgServers[n]['stduser'] &
+ $cfgServers[n]['stdpass'] settings.
+ To create the control account:
+ REVOKE ALL ON *.* FROM 'user'@localhost;
+ GRANT USAGE ON *.* TO 'user'@localhost IDENTIFIED BY 'password';
+ GRANT SELECT ON mysql.db TO 'user'@localhost;
+ GRANT SELECT ON mysql.user TO 'user'@localhost;
+
+ What the user may now do is controlled entirely by the MySQL user management + system.
-
How can I GZip or Bzip a dump or a CSV export. It seem to not work?