diff --git a/doc/config.rst b/doc/config.rst index 3f84aaa177..eff979d87e 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -611,7 +611,6 @@ Server connection settings use the SQL script found in ``./examples/upgrade_column_info_4_3_0+.sql`` to upgrade it manually. - To allow the usage of this functionality: * set up :config:option:`$cfg['Servers'][$i]['pmadb']` and the phpMyAdmin configuration storage @@ -631,6 +630,14 @@ Server connection settings * to update your PRE-4.3.0 Column\_info table manually use this ``./examples/upgrade_column_info_4_3_0+.sql`` SQL script. + .. note:: + + For auto-upgrade functionality to work, your + ``$cfg['Servers'][$i]['controluser']`` must have ALTER privilege on + ``phpmyadmin`` database. See the `MySQL documentation + `_ on how to + ``GRANT`` privileges to a user. + .. _history: .. config:option:: $cfg['Servers'][$i]['history'] diff --git a/examples/create_tables.sql b/examples/create_tables.sql index 102a585e03..e11bf019b6 100644 --- a/examples/create_tables.sql +++ b/examples/create_tables.sql @@ -27,7 +27,7 @@ USE phpmyadmin; -- Privileges -- -- (activate this statement if necessary) --- GRANT SELECT, INSERT, DELETE, UPDATE ON `phpmyadmin`.* TO +-- GRANT SELECT, INSERT, DELETE, UPDATE, ALTER ON `phpmyadmin`.* TO -- 'pma'@localhost; -- --------------------------------------------------------