Viewing Server Messages and Errors

When you run a query against a database server, it returns a response to the client. There are three types of server response to an SQL query:

  • Tabular data
  • Status (info) message
  • Error

Tabular data is displayed in the data editor. Status messages and errors are logged to the Output window. Errors are not only logged to the Output window, but are also shown in the Error List window.

Using Output Window

The following image shows the general view of the Output window.

Note

Depending on the product, the Output window appearance may vary.

Output Panes

The window can contain up to three output panes (depending on the specific product):

  • The General pane contains most output messages, not only from a database server, but from the application itself.
  • The SQL Log pane displays all SQL queries executed by the application during the current session. To see these queries, select the Write queries sent by the program to SQL Log option in the Output, Environment, Options dialog box.
  • The Debug pane contains messages sent by a stored procedure debugger.

As you can see from the previous screen-shot, server errors are also logged to the Output window. You can navigate to the place of an error by double-click or from the shortcut menu.

Searching Output Messages

You can search text in Output window. To find specific text:

  1. Focus the Output window.
  2. Open the Find and Replace window by pressing CTRL+F.
  3. Enter search text and press the Enter key on the keyboard or click the Search button.

Using Error List Window

When something goes wrong, typically you see an error. If this is a user or database server error, such as mistyped query, in most cases you will see it in the Error List window.

Here is an example of an error displayed in Error List.

Error List shows not only errors, but also warnings and informational messages which require user attention. Warning is in essence a non-blocking error. And informational message is just a user notification.

You can filter messages by type using appropriate buttons on the toolbar of the Error List window.

You can navigate to the place of an error by double-clicking it in the list or by selecting Go to Error on the shortcut menu.

How to View Errors from Current Document Only

Error List aggregates all error messages in the application. And if you have multiple open documents with errors, the error processing can quickly become awkward.

But the window has one more filter button - In Active Document. This button allows to view only those errors that are located in current document window.

Want to Find out More?

Overview

Overview

Take a quick tour to learn all about the key benefits delivered by dbForge Studio for MySQL.
All Features

All features

Get acquainted with the rich features and capabilities of the Studio in less than 5 minutes.
Request a demo

Request a demo

If you consider employing the Studio for your business, request a demo to see it in action.
Ready to start using dbForge Studio for MySQL?