# See your first captured query in Live Eye

> Turn on Capture for a running instance, run a query with psql or mysql, and watch it appear in the Live tab.

Source: https://sqleye.com/docs/getting-started/first-captured-query/ · Last updated: 2026-11-29 · Publisher: CodeROG (https://coderog.com)

Turn on **Capture** for a running instance, run a query from `psql` or `mysql`, and it appears in the **Live** tab. Capture is off by default.

1. Start an instance (see [create and start your first instance](/docs/getting-started/first-instance/)).
2. In the instance header, switch **Capture** on. It can only be turned on while the instance is running.
3. Open the **Live** tab.
4. In a terminal, connect with the client for your engine (use your instance's port):

   ```bash
   psql -h 127.0.0.1 -p 5432 -U postgres postgres
   ```

   ```bash
   mysql -h 127.0.0.1 -P 3306 -u root
   ```

5. Run a query, for example:

   ```sql
   SELECT 1;
   ```

6. The statement shows up in the Live list with its time, duration, SQL, rows and connection. Click it to open the detail panel.

## Why is nothing showing?

If the screen says "Capture is off for this instance", use the toggle there. For other causes see [no queries showing](/docs/troubleshooting/no-queries-showing/).

## Next step

Learn what else Live Eye shows in the [overview](/docs/live-eye/overview/), or turn capture off again when you are done: that restores the server's normal config. See [capture](/docs/live-eye/capture/).
