Skip to content

MySQL in SQLEye

SQLEye runs MySQL 8.0.46 or 8.4.11 (as of 2026-11-29) on 127.0.0.1 with the root user and no password.

The data directory is created with mysqld --initialize-insecure. SQLEye writes instances/<id>/my.cnf, which starts with ”# Managed by SQLEye - edits are overwritten.”:

Setting Value
bind-address 127.0.0.1
mysqlx OFF (X protocol off)
max_connections 50
performance_schema ON
events_statements_history_long size 10000
mysql://root@127.0.0.1:<port>
Terminal window
mysql -h 127.0.0.1 -P <port> -u root

SQLEye enables the events_statements_history_long consumer while capture is on and polls it every 250 ms, using a TIMER_END watermark so each statement is read once. SQLEye’s own thread is excluded.

If more statements arrive between polls than the history holds, some can be missed.

SQL text, duration, rows sent or affected, rows examined, No index used (from NO_INDEX_USED and NO_GOOD_INDEX_USED), schema, error message, connection id and user. Rows examined and No index used are not available for PostgreSQL.

Yes, hundreds of MB. Progress is shown and you can cancel. See engines.

SQLEye is developed and maintained by CodeROG. This page is also available as Markdown.