parent
668f97e5ba
commit
2772c898b1
1 changed files with 10 additions and 1 deletions
@ -1 +1,10 @@ |
|||||||
$dsn = "sqlite:$spoolDir/data.sql"; |
{ |
||||||
|
my $dbn = $dl{'DbName'} || 'dl'; |
||||||
|
my $dbu = $dl{'DbUser'} || 'dl'; |
||||||
|
my $dbp = $dl{'DbPassword'} || 'secret'; |
||||||
|
$OUT .=<<"EOF" |
||||||
|
\$dsn = "mysql:host=localhost;dbname=$dbn"; |
||||||
|
\$dbUser = "$dbu"; |
||||||
|
\$dbPassword = "$dbp"; |
||||||
|
EOF |
||||||
|
} |
||||||
|
Loading…
Reference in new issue