- Mastering phpMyAdmin 3.3.x for Effective MySQL Management
- Marc Delisle
- 184字
- 2025-02-24 12:07:04
It's often convenient to have a distinct window in which we can type and refine queries, and which is synchronized with the main panel. This window is called the Query window. We can open this window by using the small SQL icon, or the Query window link from the navigation panel's icons or links zone.
This link or icon is displayed if $cfg['QueryFrame']
is set to TRUE
. A value of TRUE
for $cfg['QueryFrameJS']
tells phpMyAdmin to open a distinct window and update it by using JavaScript commands; of course, this only works for a JavaScript-enabled browser. If this is set to FALSE
, clicking on Query window will only open the main panel, and will display the normal SQL subpage.
The Query window itself has subpages, and it appears here over the main panel:

We can choose the dimensions (in pixels) of this window with $cfg['QueryWindowWidth']
and $cfg['QueryWindowHeight']
. Chapter 11, Entering SQL Commands, explains the Query window in more detail, including the available SQL query history feature.