Skip to content

About

Collection of databases for testing purpose

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Test Databases

MySQL 8

Run docker compose up in /docker/mysql or npm run docker:mysql from project root.

Direct Connection

Database

host: localhost
port: 3306
user: root
password: password

SSH Tunnel Connection

Database

host: mysql-8-antares
port: 3306
user: root
password: password

SSH Tunnel

host: localhost
port: 2222
user: tunnel
password: password

PostgreSQL

Run docker compose up in /docker/pg or npm run docker:pg from project root.

Direct Connection

Database

host: localhost
port: 5432
user: postgres
password: password

SSH Tunnel Connection

Database

host: pg-antares
port: 5432
user: postgres
password: password

SSH Tunnel

host: localhost
port: 2223
user: tunnel
password: password

SQLite

In sqlite folder there are some databases available to connect to.

SQL Server

Run docker compose up in /docker/mssql or npm run docker:mssql from project root. The init service loads the sample databases once the server is up: Northwind, pubs and AdventureWorksLT (restored from a backup). Run docker compose run --rm init to reset them.

The image is linux/amd64 only (emulated on ARM hosts) and needs at least 2 GB of memory. On Windows port 1433 may be reserved: change the host port in compose.yml if the container can't start.

Direct Connection

Database

host: localhost
port: 1433
user: sa
password: Password_1!

SSH Tunnel Connection

Database

host: mssql-antares
port: 1433
user: sa
password: Password_1!

SSH Tunnel

host: localhost
port: 2224
user: tunnel
password: password

Firebird SQL

Run docker compose up in /docker/firebird or npm run docker:firebird from project root. The bookshop sample (domains, sequences, exceptions, identity and computed columns, views, procedures, triggers) is created on the first start.

Direct Connection

Database

host: localhost
port: 3050
user: SYSDBA
password: password
database: /var/lib/firebird/data/bookshop.fdb

SSH Tunnel Connection

Database

host: firebird-antares
port: 3050
user: SYSDBA
password: password
database: /var/lib/firebird/data/bookshop.fdb

SSH Tunnel

host: localhost
port: 2225
user: tunnel
password: password

Sources

  • SQL Server samples (Northwind, pubs, AdventureWorksLT) come from microsoft/sql-server-samples (MIT license). 01-northwind.sql adds the creation of the Northwind database to the original instnwnd.sql.
  • The Firebird bookshop sample is maintained together with Antares SQL (npm run test:db:samples).

About

Collection of databases for testing purpose

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages