Mastering phpMyAdmin 3.3.x for Effective MySQL Management
上QQ阅读APP看书,第一时间看更新

Chapter 3. Over Viewing the Interface

Before delving into task-oriented chapters, such as searching and the like, it's appropriate to have a look at the general organization of phpMyAdmin's interface. We'll also look at the configuration parameters and settings that influence the interface as a whole.

Over viewing panels and windows

The phpMyAdmin interface is composed of various panels and windows, each one having a specific function. We will first see a quick overview of each panel and then take a detailed look at them later in this chapter.

Login panels

The login panel that appears depends on the authentication type chosen. For the http type, it will take the form of our browser's HTTP authentication pop-up screen. For the cookie type, the phpMyAdmin-specific login panel will be displayed. (This is covered in Chapter 2, Configuring Authentication and Security.) For external authentication (signon), the login panel is handled by the external application itself. By default, a Server choice dialog and a Language selector are present on this panel.

However, if we are using the config authentication type, no login panel is displayed, and the first displayed interface contains the navigation and the main panels.

Navigation and main panels

The navigation and main panels go together and are displayed during most of our working session with phpMyAdmin. The navigation panel is our guide through the databases and tables. The main panel is the working area where the data is managed and results appear. Its exact layout depends on the choices made in the navigation panel and the sequence of operations performed. For the majority of languages (which are written left-to-right), the navigation panel is located on the left side and the main panel is on the right. However, for right-to-left languages such as Hebrew, these panels are reversed.

Navigation and main panels

Home page

The main panel can take the form of the home page. The home page will then contain various links related to MySQL operations or phpMyAdmin information, a Language selector, and possibly the themes selector.

Views

In the main panel, we can see the Database view (where we can take various actions for a specific database), or the Table view (where we can access many functions to manage a table). There is also a Server view, which is useful for both system administrators and non-administrator users. All these views have a top menu, which takes the form of tabs that lead to different subpages used to present information regrouped by common functions (table structure, privileges, and so on).

Note

Please do not confuse the term view—used here in the interface sense—with the MySQL 5.0's notion of SQL views (covered in Chapter 17,Supporting MySQL 5.0 and 5.1).

Query window

This is a distinct window that is usually opened from the navigation panel, and sometimes from the main panel when editing an SQL query. Its main purpose is to facilitate work on queries and display the results in the main panel.

Starting page

When we start phpMyAdmin, we will see the following (depending on the authentication type specified in config.inc.php and on whether it has more than one server defined in it):

  • One of the login panels
  • The navigation and main panels, with the home page displayed in the main panel