Get the App
SLTechnology News&Howtos  ›  Development  › 

How to set up and enable phpMyAdmin advanced functions

Shulou Source: shulou.com Published: 2022-06-03 09:25:48 10月04日 Update

This article mainly shows you "how to set to enable phpMyAdmin advanced features", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to set up to turn on phpMyAdmin advanced features" this article.

Question:

After logging in to phpMyAdmin, we found two messages at the bottom of the main interface:

One message is "phpMyAdmin advanced features are not fully set up and some features are not activated. Please click here to see why" and another message is "the configuration file now requires a phrase password."

Once these two messages appear, it means that some of the functions in phpMyAdmin cannot be used.

The steps to solve this problem are divided into three parts:

Upload create_tables.sql files, configure config.inc.php files and modify config.default.php files.

Resolve:

1. Create phpmyadmin database:

Open the phpMyAdmin directory and find create_tables.sql

Cd. / sql

You can see the create_tables.sql, then copy the sql statement inside, and then execute it, so that the phpmyadmin database is created successfully

two。 Configure the config.inc.php file

Open the phpMyAdmin folder, locate the config.sample.inc.php file, and rename it to the config.inc.php file.

3. Open the config.inc.php file and find the following statement:

/ * Storage database and tables * / $cfg ['Servers'] [$I] [' pmadb'] = 'phpmyadmin';// $cfg [' Servers'] [$] ['bookmarktable'] =' pma__bookmark';// $cfg ['Servers'] [$] [' relation'] = 'pma__relation';// $cfg [' Servers'] [$] [$table_info'] = 'pma__table_info' / / $cfg ['Servers'] [$I] [' table_coords'] = 'pma__table_coords';// $cfg [' Servers'] [$] ['pdf_pages'] =' pma__pdf_pages';// $cfg ['Servers'] [$] [$column_info'] =' pma__column_info';// $cfg ['Servers'] [$] [' history'] = 'pma__history'] / / $cfg ['Servers'] [$I] [' table_uiprefs'] = 'pma__table_uiprefs';// $cfg [' Servers'] [$] ['tracking'] =' pma__tracking';// $cfg ['Servers'] [$] [$designer_coords'] =' pma__designer_coords';// $cfg ['Servers'] [$] [' userconfig'] = 'pma__userconfig';// $cfg [' Servers'] [$I] ['recent'] =' pma__recent' / / $cfg ['Servers'] [$I] [' favorite'] = 'pma__favorite';// $cfg [' Servers'] [$] ['users'] =' pma__users';// $cfg ['Servers'] [$] [$usergroups'] =' pma__usergroups';// $cfg ['Servers'] [$] [' navigationhiding'] = 'pma__navigationhiding';// $cfg [' Servers'] [$I] ['savedsearches'] =' pma__savedsearches'

Remove the / / (double slash) and spaces in front of each statement under the / * Storage database and tables * / statement.

Note:

Above the / * Storage database and tables * / sentence, there are the following two lines:

/ / $cfg ['Servers'] [$I] [' controluser'] = 'pma';// $cfg [' Servers'] [$I] ['controlpass'] =' pmapass'

If necessary, you can change it to:

$cfg ['Servers'] [$I] [' controluser'] = 'user name'; $cfg ['Servers'] [$I] [' controlpass'] = 'password'

4. Modify the config.default.php file

Open the config.default.php file in the phpMyAdmin\ libraries\ folder.

In the config.default.php file

1) find:

$cfg ['Servers'] [$I] [' pmadb'] =''

Modified to:

$cfg ['Servers'] [$I] [' pmadb'] = 'phpmyadmin'

2) find:

$cfg ['Servers'] [$I] [' bookmarktable'] =''

Modified to:

$cfg ['Servers'] [$I] [' bookmarktable'] = 'pma__bookmark'

3) find:

$cfg ['Servers'] [$I] [' relation'] =''

Modified to:

$cfg ['Servers'] [$I] [' relation'] = 'pma__relation'

4) find:

$cfg ['Servers'] [$I] [' table_info'] =''

Modified to:

$cfg ['Servers'] [$I] [' table_info'] = 'pma__table_info'

5) find:

$cfg ['Servers'] [$I] [' table_coords'] =''

Modified to:

$cfg ['Servers'] [$I] [' table_coords'] = 'pma__table_coords'

6) find:

$cfg ['Servers'] [$I] [' pdf_pages'] =''

Modified to:

$cfg ['Servers'] [$I] [' pdf_pages'] = 'pma__pdf_pages'

7) find:

$cfg ['Servers'] [$I] [' column_info'] =''

Modified to:

$cfg ['Servers'] [$I] [' column_info'] = 'pma__column_info'

8) find:

$cfg ['Servers'] [$I] [' history'] =''

Modified to:

$cfg ['Servers'] [$I] [' history'] = 'pma__history'

9) find:

$cfg ['Servers'] [$I] [' table_uiprefs'] =''

Modified to:

$cfg ['Servers'] [$I] [' table_uiprefs'] = 'pma__table_uiprefs'

10) find:

$cfg ['Servers'] [$I] [' tracking'] =''

Modified to:

$cfg ['Servers'] [$I] [' tracking'] = 'pma__tracking'

11) find:

$cfg ['Servers'] [$I] [' designer_coords'] =''

Modified to:

$cfg ['Servers'] [$I] [' designer_coords'] = 'pma__designer_coords'

12) find:

$cfg ['Servers'] [$I] [' userconfig'] =''

Modified to:

$cfg ['Servers'] [$I] [' userconfig'] = 'pma__userconfig'

13) find:

$cfg ['Servers'] [$I] [' recent'] =''

Modified to:

$cfg ['Servers'] [$I] [' recent'] = 'pma__recent'

14) find:

$cfg ['Servers'] [$I] [' favorite'] =''

Modified to:

$cfg ['Servers'] [$I] [' favorite'] = 'pma__favorite'

15) find:

$cfg ['Servers'] [$I] [' users'] =''

Modified to:

$cfg ['Servers'] [$I] [' users'] = 'pma__users'

16) find:

$cfg ['Servers'] [$I] [' usergroups'] =''

Modified to:

$cfg ['Servers'] [$I] [' usergroups'] = 'pma__usergroups'

17) find:

$cfg ['Servers'] [$I] [' navigationhiding'] =''

Modified to:

$cfg ['Servers'] [$I] [' navigationhiding'] = 'pma__navigationhiding'

18) find:

$cfg ['Servers'] [$I] [' savedsearches'] =''

Modified to:

$cfg ['Servers'] [$I] [' savedsearches'] = 'pma__savedsearches'

Tip:

In fact, the above sentences are sentences that have been removed from the config.inc.php file with / / (double slashes) removed.

Save and close the config.default.php file.

Log in to phpMyAdmin again.

The above is all the contents of the article "how to set up and turn on the advanced features of phpMyAdmin". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Files features advanced information sentences sentences content articles sections tips configuration passwords data databases folders slashes questions face-to-face learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple Docker Linux Shulou Information