Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to turn on advanced features of phpMyAdmin

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to turn on the advanced functions of phpMyAdmin. It is very detailed and has a certain reference value. Friends who are interested must finish reading it!

Note: based on phpMyAdmin5.5, using LNMP environment

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 turn on the Advanced Features of phpMyAdmin". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report