File: database.rc

package info (click to toggle)
libtest-database-perl 1.113-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 320 kB
  • ctags: 92
  • sloc: perl: 629; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# example correct .test-database.rc file

# mysql
dsn      = dbi:mysql:database=mydb;host=localhost;port=1234
username = user
password = s3k r3t

# another
dsn      = dbi:mysql:database=mydb;host=remotehost;port=5678
username = otheruser

# sqlite
dsn      = dbi:SQLite:db.sqlite