]> git.donarmstrong.com Git - infobot.git/blobdiff - scripts/mysql2txt.pl
* Merge changes from prposed changes
[infobot.git] / scripts / mysql2txt.pl
index c1a2c9364a34f5c01b4cfebc5c59873a4bf45469..bc7fad665b48b7358fb50410d1b13aebed7d7ee9 100755 (executable)
@@ -18,10 +18,10 @@ if (!defined $dbname) {
 }
 
 # open the db.
-&loadConfig("files/blootbot.config");
+&loadConfig("files/infobot.config");
 &loadDBModules();
 
-&openDB();
+&openDB($param{'DBName'}, $param{'SQLUser'}, $param{'SQLPass'});
 
 # retrieve a list of db's from the server.
 my %db;
@@ -45,3 +45,5 @@ $sth->finish;
 
 print "Done.\n";
 &closeDB();
+
+# vim:ts=4:sw=4:expandtab:tw=80