# Connect your app to a SQLEye database

> Every SQLEye instance listens on 127.0.0.1 with no password. Use host, port and user from the Info tab, then pick your framework or client.

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

Point your app at `127.0.0.1` and the instance's port, with user `postgres` (PostgreSQL) or `root` (MySQL) and no password. The Info tab of the instance shows ready-made strings.

## What are the connection details?

| | PostgreSQL | MySQL |
|---|---|---|
| Host | `127.0.0.1` | `127.0.0.1` |
| Port | the instance's port (default 5432) | the instance's port (default 3306) |
| User | `postgres` | `root` |
| Password | none | none |
| Database | `postgres` | none created by default |
| URL | `postgresql://postgres@127.0.0.1:<port>/postgres` | `mysql://root@127.0.0.1:<port>` |

Use `127.0.0.1`, not `localhost`. The servers have no Unix socket and listen only on TCP, and some clients treat `localhost` as a socket path, especially for MySQL.

> **Note.**
Servers bind to 127.0.0.1 only and accept connections without a password. Do not expose them to a network.

## Do I need to create a database?

Yes. A new instance has only the default `postgres` database (PostgreSQL) and the system schemas (MySQL). Create one for your app, see [CLI clients](/docs/connect/cli-clients/):

```bash
createdb -h 127.0.0.1 -p 5432 -U postgres myapp
mysql -h 127.0.0.1 -P 3306 -u root -e "CREATE DATABASE myapp"
```

## Which page is mine?

| Stack | Page |
|---|---|
| PHP / Laravel | [Laravel](/docs/connect/laravel/) |
| Python / Django | [Django](/docs/connect/django/) |
| Ruby / Rails | [Rails](/docs/connect/rails/) |
| Node.js: Prisma, Drizzle, Knex | [Node.js](/docs/connect/nodejs/) |
| Go | [Go](/docs/connect/go/) |
| Java / Spring Boot | [Spring](/docs/connect/spring/) |
| C# / .NET | [.NET](/docs/connect/dotnet/) |
| psql, mysql | [CLI clients](/docs/connect/cli-clients/) |
| pgAdmin, DBeaver, TablePlus, DataGrip | [GUI clients](/docs/connect/gui-clients/) |

To see your app's queries, [turn on capture](/docs/live-eye/capture/). If the port is busy, see [ports](/docs/instances/ports/).
