# Start and stop an instance

> Start and stop SQLEye instances from the app or the tray menu, what the statuses mean, and what happens when a port is busy.

Source: https://sqleye.com/docs/instances/start-and-stop/ · Last updated: 2026-11-29 · Publisher: CodeROG (https://coderog.com)

Databases start only when you ask. Start or stop an instance from the app, or from the [tray](/docs/tray/) menu.

## What do the statuses mean?

| Status | Meaning |
| --- | --- |
| stopped | The server is not running. |
| starting | The server is starting. SQLEye waits up to 120 seconds. |
| running | The server accepts connections. |
| stopping | A shutdown is in progress. |
| error | Something failed. The last error is kept on the instance. |

## What if the port is busy?

Start fails with "Port N is already in use. Change this instance's port and try again." See [ports](/docs/instances/ports/) and [port in use](/docs/troubleshooting/port-in-use/).

## How does stop work?

SQLEye asks the server to shut down gracefully and waits up to 30 seconds. If it is still running, SQLEye terminates it, and kills it as a last resort.

## What happens when SQLEye restarts?

If a server from a previous run is still alive (its PID file exists and its port is in use), SQLEye adopts it and shows it as running. Stale PID files are cleared.

## Does closing the window stop databases?

Closing the window hides SQLEye to the tray; it does not exit. See [tray](/docs/tray/).

## Server won't start?

See [engine won't start](/docs/troubleshooting/engine-wont-start/).
