X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Ftxt2mysql.pl;h=88ace259d9293a483a099d866f95a62ea5d4c4fb;hb=0a03234c837cefef8cd59c3f078e8a1732ae35c9;hp=4c5236966ac43af691cedacdb3708f13dd0531f3;hpb=f0a00b56d1497c3b3f0d33e0d57e5d31a0161a55;p=infobot.git diff --git a/scripts/txt2mysql.pl b/scripts/txt2mysql.pl index 4c52369..88ace25 100755 --- a/scripts/txt2mysql.pl +++ b/scripts/txt2mysql.pl @@ -19,9 +19,9 @@ my $txtfile = shift; open(IN,$txtfile) or die "error: cannot open txtfile '$txtfile'.\n"; # read the bot config file. -&loadConfig("files/blootbot.config"); +&loadConfig("files/infobot.config"); &loadDBModules(); -&openDB(); +&openDB($param{'DBName'}, $param{'SQLUser'}, $param{'SQLPass'}); ### now pipe all the data to the mysql server... my $i = 1;