# Connection string

> A connection string is a single text value, usually a URL, that tells an application how to reach a database.

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

A connection string is a single text value, usually in URL form, that tells an application which database server to reach: the driver or engine, user, host, port and database.

For a local SQLEye instance the strings follow these patterns, where the port is the instance's port:

```text
postgresql://postgres@127.0.0.1:<port>/postgres
mysql://root@127.0.0.1:<port>
```

There is no password, because the servers listen on 127.0.0.1 only. The instance's Info tab shows the string, a psql or mysql command, a Laravel .env block and a DATABASE_URL line, and the sidebar menu has Copy connection string. Point your application at it and SQLEye can show its queries. See [Connect your app](/docs/connect/).
