summaryrefslogtreecommitdiffstats
path: root/config-db/OpenSLX/ConfigDB.pm
diff options
context:
space:
mode:
authorOliver Tappe2007-07-31 23:38:03 +0200
committerOliver Tappe2007-07-31 23:38:03 +0200
commit880ba4090cd8af757f17604af3284afab6fd198c (patch)
tree4d37ef92b0cefc2ab1149d875b78fe0cf05dcd9e /config-db/OpenSLX/ConfigDB.pm
parent* Fixed another bug reported by Bastian: (diff)
downloadcore-880ba4090cd8af757f17604af3284afab6fd198c.tar.gz
core-880ba4090cd8af757f17604af3284afab6fd198c.tar.xz
core-880ba4090cd8af757f17604af3284afab6fd198c.zip
* dropped support for CSV databases, as they are simply not good enough
* added support for db-user and db-passwd: + the mysql backend will now ask for the password upon connect + you can specify the db-user and db-passwd via slxsettings (so you never have to enter it manually afterwards) * slxsettings now checks db-type against an explicit pattern to avoid problems caused by typos git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1295 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/OpenSLX/ConfigDB.pm')
-rw-r--r--config-db/OpenSLX/ConfigDB.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/config-db/OpenSLX/ConfigDB.pm b/config-db/OpenSLX/ConfigDB.pm
index 402678e5..061b560f 100644
--- a/config-db/OpenSLX/ConfigDB.pm
+++ b/config-db/OpenSLX/ConfigDB.pm
@@ -155,7 +155,6 @@ sub connect ## no critic (ProhibitBuiltinHomonyms)
# map db-type to name of module, such that the user doesn't have
# to type the correct case:
my %dbTypeMap = (
- 'csv' => 'CSV',
'mysql' => 'mysql',
'sqlite' => 'SQLite',
);
@@ -180,7 +179,7 @@ sub connect ## no critic (ProhibitBuiltinHomonyms)
if (!$metaDB->connect($dbParams)) {
warn _tr("Unable to connect to DB-module <%s>\n%s", $dbModuleName, $@);
warn _tr("These DB-modules seem to work ok:");
- foreach my $dbMod ('CSV', 'mysql', 'SQLite') {
+ foreach my $dbMod ('mysql', 'SQLite') {
my $fullDbModName = "DBD/$dbMod.pm";
if (eval { require $fullDbModName }) {
vlog(0, "\t$dbMod\n");