File: database.good

package info (click to toggle)
libtest-database-perl 1.112-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 272 kB
  • ctags: 83
  • sloc: perl: 637; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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

# a database driver
driver_dsn = dbi:mysql:host=remotehost;port=5678
username   = otheruser