Skip to main content

MySQL Query Browser




     MySQL Query Browser is a cross-platform GUI client program that's intuitive and easy to use. It provides
a graphical interface to the MySQL server for querying and analyzing data. The MySQL Query Browser
provides a Connection dialog that enables a connection to a MySQL server. This section describes how to
use the Connection dialog and the Main Query Browser GUI.


Using the Connection Dialog


MySQL Query Browser presents a Connection dialog when it starts or when the New Instance Connection
… is selected from the File menu. Connecting to a MySQL server can be accomplished either by filling in
the connection dialog box fields with the parameters required to connect to a server or selecting from
among any predefined connection profiles.


Connection Dialog Window:




               To connect to a MySQL server by specifying connection parameters directly, fill in the  appropriate fields beginning with the Username field and click the OK button. To connect using the parameters stored in a connection profile, select the profile from the Connection drop-down list and click the OK button. 




The MySQL Query Browser Window







The main MySQL Query Browser window is divided up into several sections: 


o Query ToolbarThe query toolbar is where queries can be created and executed. It is composed of three navigation buttons (Go Back, Next, Refresh), the query area, two action
buttons (Execute and Stop), and a status indicator.


o Advanced Toolbar - The advanced toolbar contains three sets of buttons: the Transaction Buttons (Start, Commit, Rollback), the query management buttons (Explain, Compare), and the query building buttons (Select, From, Where, and so on.)
• The Advanced Toolbar is only visible when the Show advanced toolbars and Show composer
buttons toolbar options in the Browser Options screen are checked.


o Results Area - All query results are displayed in the result area. Multiple tabs can be active at one time, allowing multiple queries to be worked on. The result area can be split vertically and
horizontally for performing comparisons, and queries in different parts of a split result area can be joined together for master-detail analysis.


o Object Browser - The object browser is part of the sidebar and allows for the management of the databases, bookmarks, and history. Databases and tables can be chosen to query, in addition to the ability to add commonly-used queries to a collection of bookmarks, and browse through previously issued queries in order to use them again.



  •  If there are many schemata on your MySQL server, the search field with the magnifying glass icon may be handy for filtering the schemata. Typing in t or T, for example, will set the filter to schemata whose names begin with a t. The filter works in a case-insensitive fashion.

  •  Filter schemata can also use the wild card (?) to stand in for any single character and (*) for zero to any number of characters. For example the string *boo?* will find schemata with the names books, coursebooks, and bookings.



o Information Browser - The Information Browser is part of the sidebar and is used to look up built-in functions, and to manage queries that contain parameters. One example of this is when establishing a master-detail pair of queries. The data in the master query is available as parameters to the detail query. Using the View menu, most of these sections can be displayed and hidden by checking and unchecking the elements.

Comments

Popular posts from this blog

PHP INTRODUCTION

                     PHP  (recursive acronym for  PHP: Hypertext Preprocessor ) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. PHP stands for  P HP:  H ypertext  P reprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.) PHP is an open source software PHP is free to download and use Why PHP? PHP runs on different platforms (Windows, Linux, Unix, etc.) PHP is compatible with almost all servers used today (Apache, IIS, etc.) PHP is FREE to download from the official PHP resource:  www.php.net PHP is easy to learn and runs efficiently on the server side What can PHP do? Anything. PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynam

MySQL General Architecture

        MySQL operates in a networked environment using a client/server architecture. In other words, a central  program acts as a server, and various client programs connect to the server to make requests. A MySQL  installation has the following major components: MySQL Server, Client programs and MySQL non client  utilities.  MySQL Server MySQL Server, or mysqld, is the database server program. The server manages access to the actual  database (schema) on disk and in memory. MySQL Server is multi-threaded and supports many  simultaneous client connections. Clients can connect via several connection protocols. For managing  database contents, the MySQL server features a modular architecture that supports multiple storage engines  that handle different types of tables (for example, it supports both transactional and non-transactional  tables). Keep in mind the difference between a server and a host. The server is software (the MySQL server  program mysqld). Server characteristi