summaryrefslogtreecommitdiffstats
path: root/conf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'conf.rb')
-rw-r--r--conf.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf.rb b/conf.rb
new file mode 100644
index 0000000..f855594
--- /dev/null
+++ b/conf.rb
@@ -0,0 +1,8 @@
+MySQL = { "host" => "localhost",
+ "db" => "bdg_dev",
+ "user" => "bdg_dev",
+ "passwd" => "bdg_dev"
+ }
+
+$db = DBI.connect("DBI:Mysql:" + MySQL["db"] + ":" + MySQL["host"], MySQL["user"], MySQL["passwd"])
+