# Auto-start and launch at login

> How the per-instance auto-start toggle and the Launch at login setting work in SQLEye, what happens on failure, and their defaults.

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

SQLEye can start chosen instances when the app opens, and can open itself when you log in. Both are off by default, so nothing runs unless you ask for it.

## What is the per-instance toggle?

In an instance's **Info** tab: "Start automatically with SQLEye. Otherwise databases only start when you ask." It is stored per instance and is off by default.

When SQLEye launches, it first checks for database processes left over from a previous run, then starts every instance that has the toggle on. This happens in the background, so the window opens without waiting for the databases.

## What happens if an auto-started instance fails?

The instance shows the **error** state with the reason, for example when its port is already in use. Other instances are not affected. Fix the cause and [start the instance](/docs/instances/start-and-stop/) again.

## What is Launch at login?

A setting in the [settings dialog](/docs/settings/), default off. When on, SQLEye registers itself to open when you log in, and starts hidden in the [tray](/docs/tray/) without showing its window. Turning the setting off removes the registration.

It uses a LaunchAgent on macOS, a Run registry entry on Windows and an autostart `.desktop` entry on Linux.

## Do the two settings work together?

Yes. With Launch at login on and auto-start on for an instance, that database is running shortly after you log in, with SQLEye sitting in the tray.

> **Note.**
Launch at login has been built for all three platforms but has so far been exercised least on Windows and Linux. If it does not take effect, see [troubleshooting](/docs/troubleshooting/).
