Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Overview of this book

Table of Contents (25 chapters)
Mastering phpMyAdmin 2.11 for Effective MySQL Management
Credits
About the Author
About the Reviewers
Preface

The Query Window


In Chapter 3, we discussed the purpose of this window and the procedure for changing some parameters (like dimension). This window can be easily opened from the left panel using the SQL icon or the Query window link, and is very convenient for entering a query and testing it:

The following screenshot shows the query window that appears over the right panel:

It contains the same Fields selector and << button as that used in a Table view context.

This distinct query window only appears if $cfg['QueryFrameJS'] is set to TRUE; we need to use a JavaScript-enabled browser. If this is set to FALSE, following the Query window link will only jump to the normal SQL page with the query box.

Query Window Options

The SQL tab is the default active tab in this window. This comes from the configuration directive $cfg['QueryWindowDefTab'], which contains sql by default.

If we want another tab to be the default active tab, we can replace sql with files or history. Another value...