Navigation panel setup

$cfg['ShowDatabasesNavigationAsTree']

Type:布尔值
Default value:true

导航栏使用数据库选择器替代树形列表

$cfg['FirstLevelNavigationItems']

Type:整数
Default value:100

The number of first level databases that can be displayed on each page of navigation tree.

$cfg['MaxNavigationItems']

Type:整数
Default value:50

The number of items (tables, columns, indexes) that can be displayed on each page of the navigation tree.

$cfg['NavigationTreeEnableGrouping']

Type:布尔值
Default value:true

Defines whether to group the databases based on a common prefix in their name $cfg['NavigationTreeDbSeparator'].

$cfg['NavigationTreeDbSeparator']

Type:文本
Default value:‘_’

The string used to separate the parts of the database name when showing them in a tree.

$cfg['NavigationTreeTableSeparator']

Type:字符串或数组
Default value:‘__’

Defines a string to be used to nest table spaces. This means if you have tables like first__second__third this will be shown as a three-level hierarchy like: first > second > third. If set to false or empty, the feature is disabled. NOTE: You should not use this separator at the beginning or end of a table name or multiple times after another without any other characters in between.

$cfg['NavigationTreeTableLevel']

Type:整数
Default value:1

Defines how many sublevels should be displayed when splitting up tables by the above separator.

$cfg['NumRecentTables']

Type:整数
Default value:10

The maximum number of recently used tables shown in the navigation panel. Set this to 0 (zero) to disable the listing of recent tables.

$cfg['NumFavoriteTables']

Type:整数
Default value:10

The maximum number of favorite tables shown in the navigation panel. Set this to 0 (zero) to disable the listing of favorite tables.

$cfg['ZeroConf']

Type:布尔值
Default value:true

Enables Zero Configuration mode in which the user will be offered a choice to create phpMyAdmin configuration storage in the current database or use the existing one, if already present.

This setting has no effect if the phpMyAdmin configuration storage database is properly created and the related configuration directives (such as $cfg['Servers'][$i]['pmadb'] and so on) are configured.

$cfg['NavigationLinkWithMainPanel']

Type:布尔值
Default value:true

Defines whether or not to link with main panel by highlighting the current database or table.

$cfg['NavigationDisplayLogo']

Type:布尔值
Default value:true

Defines whether or not to display the phpMyAdmin logo at the top of the navigation panel.

$cfg['NavigationLogoLink']

Type:文本
Default value:‘index.php’

Enter URL where logo in the navigation panel will point to. For use especially with self made theme which changes this. For relative/internal URLs, you need to have leading `` ./ `` or trailing characters `` ? `` such as './sql.php?'. For external URLs, you should include URL protocol schemes (http or https) with absolute URLs.

$cfg['NavigationLogoLinkWindow']

Type:文本
Default value:‘main’

Whether to open the linked page in the main window (main) or in a new one (new). Note: use new if you are linking to phpmyadmin.net.

$cfg['NavigationTreeDisplayItemFilterMinimum']

Type:整数
Default value:30

Defines the minimum number of items (tables, views, routines and events) to display a JavaScript filter box above the list of items in the navigation tree.

To disable the filter completely some high number can be used (e.g. 9999)

$cfg['NavigationTreeDisplayDbFilterMinimum']

Type:整数
Default value:30

Defines the minimum number of databases to display a JavaScript filter box above the list of databases in the navigation tree.

To disable the filter completely some high number can be used (e.g. 9999)

$cfg['NavigationDisplayServers']

Type:布尔值
Default value:true

Defines whether or not to display a server choice at the top of the navigation panel.

$cfg['DisplayServersList']

Type:布尔值
Default value:false

Defines whether to display this server choice as links instead of in a drop-down.

$cfg['NavigationTreeDefaultTabTable']

Type:文本
Default value:‘structure’

Defines the tab displayed by default when clicking the small icon next to each table name in the navigation panel. The possible values are the localized equivalent of:

  • structure
  • sql
  • search
  • insert
  • browse

$cfg['NavigationTreeDefaultTabTable2']

Type:文本
Default value:

Defines the tab displayed by default when clicking the second small icon next to each table name in the navigation panel. The possible values are the localized equivalent of:

  • (empty)
  • structure
  • sql
  • search
  • insert
  • browse

$cfg['NavigationTreeEnableExpansion']

Type:布尔值
Default value:true

是否允许在导航栏中展开导航树。

$cfg['NavigationTreeShowTables']

Type:布尔值
Default value:true

Whether to show tables under database in the navigation panel.

$cfg['NavigationTreeShowViews']

Type:布尔值
Default value:true

Whether to show views under database in the navigation panel.

$cfg['NavigationTreeShowFunctions']

Type:布尔值
Default value:true

Whether to show functions under database in the navigation panel.

$cfg['NavigationTreeShowProcedures']

Type:布尔值
Default value:true

Whether to show procedures under database in the navigation panel.

$cfg['NavigationTreeShowEvents']

Type:布尔值
Default value:true

Whether to show events under database in the navigation panel.

$cfg['NavigationWidth']

Type:整数
Default value:240

Navigation panel width, set to 0 to collapse it by default.