Middle of the General Log

Posted by Efendi Pakpahan April 29, 2011 0 comments

15.1. Introduction

The Server Logs section provides easy access to the various log files generated by the MySQL server. You can access the server's error log, slow query log, and general log using this section.
This section has one tab for each of the log files, and each tab is split into two boxes. Above the boxes, there is a bar which allows you to navigate through larger log files by breaking the log file into individual pages. Clicking in the bar will display the individual pages. The light blue area represents the portion of the log file you are currently viewing.

Figure 15.1. Displaying Entries from the Middle of the General Log
Displaying entries from the middle of the           General Log
You can only view log files that are stored on the machine where MySQL Administrator is running, you cannot view log files on a remote machine.
Also note that some tabs may be disabled. If a tab is disabled it indicates that the log file in question has not been enabled on the MySQL server. You can enable the various log files in the Startup Variables section.
The left box (labeled Events of page x / y) displays the major events that have occurred on the current page of the log file. The right box (labeled Page Content) displays the detailed lines of the log file. By clicking on an event in the left box, the first detailed entry of the event will be highlighted in the right box.
In addition to the log file tabs, the Server Logs section has four action buttons for managing log information:
  • Open Other File will allow you to open a log file other than the currently active log file. This can be useful in situations where you rotate your log files as it allows you to open log files that have been rotated out of active use.
  • Search opens a dialog where you can specify a search term to look for in the log file. If it's found, it will be marked as selected in the right box. This command is also available by right clicking in the right box and choosing the Search ... option.
  • Save Log Page opens a dialog that allows you to specify the path and file name where the current page of the log file should be stored. By default, MySQL Administrator suggests ErrorLog.txt, SlowLog.txt, or GeneralLog.txt as a file name. Note that executing this command does not affect the actual log file in any way; it just creates a copy of the current log file contents that you may store for documenting or analyzing. This command is also available by right clicking in the right box and choosing the Save log Page ... option.
Read More..

Introduction to MySQL Administrator

Posted by Efendi Pakpahan 0 comments

Chapter 2. Introduction to MySQL Administrator

MySQL Administrator is a program for performing administrative operations, such as configuring, monitoring and starting and stopping a MySQL server, managing users and connections, performing backups, and a number of other administrative tasks.
Most tasks can be performed using a command-line client such as mysqladmin, or mysql, but MySQL Administrator has the following advantages:
  • Its graphical user interface makes it more intuitive.
  • It provides a better overview of the settings that are crucial for the performance, reliability, and security of your MySQL servers.
  • It displays performance indicators graphically, thus making it easier to determine and tune server settings.
MySQL Administrator is designed to work with MySQL versions 4.0 and higher.
MySQL Administrator is, to a large extent, the result of feedback received from many users over a period of several years. However, if you find it's lacking some feature important to you, or if you discover a bug, please use our MySQL Bug System to request features or report problems.
Read More..

MySQL Administrator

Posted by Efendi Pakpahan 0 comments

MySQL Administrator




Copyright 2004-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
This documentation is NOT distributed under a GPL license. Use of this documentation is subject to the following terms: You may create a printed copy of this documentation solely for your own personal use. Conversion to other formats is allowed as long as the actual content is not altered or edited in any way. You shall not publish or distribute this documentation in any form or on any media, except if you distribute the documentation in a manner similar to how Sun disseminates it (that is, electronically for download on a Web site with the software) or on a CD-ROM or similar medium, provided however that the documentation is disseminated together with the software on the same medium. Any other use, such as any dissemination of printed copies or use of this documentation, in whole or in part, in another publication, requires the prior written consent from an authorized representative of Sun Microsystems, Inc. Sun Microsystems, Inc. and MySQL AB reserve any and all rights to this documentation not expressly granted above.
For more information on the terms of this license, for details on how the MySQL documentation is built and produced, or if you are interested in doing a translation, please contact the http://www.mysql.com/company/contact/.
If you want help with using MySQL, please visit either the MySQL Forums or MySQL Mailing Lists where you can discuss your issues with other MySQL users.
For additional documentation on MySQL products, including translations of the documentation into other languages, and downloadable versions in variety of formats, including HTML, CHM, and PDF formats, see MySQL
Read More..