summaryrefslogtreecommitdiff
path: root/t/database.good
diff options
context:
space:
mode:
Diffstat (limited to 't/database.good')
-rw-r--r--t/database.good17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/database.good b/t/database.good
new file mode 100644
index 0000000..28b8a7d
--- /dev/null
+++ b/t/database.good
@@ -0,0 +1,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