Index: trunk/FACT++/src/Configuration.cc
===================================================================
--- trunk/FACT++/src/Configuration.cc	(revision 14045)
+++ trunk/FACT++/src/Configuration.cc	(revision 14046)
@@ -392,5 +392,5 @@
     Database db(database);
 
-    cout << "Connected to '" << db.database() << "' for " << prgname << endl;
+    cout << "Connected to '" << db.uri() << "' for " << prgname << endl;
 
     const mysqlpp::StoreQueryResult res =
Index: trunk/FACT++/src/Database.h
===================================================================
--- trunk/FACT++/src/Database.h	(revision 14045)
+++ trunk/FACT++/src/Database.h	(revision 14046)
@@ -31,16 +31,17 @@
         db     = what[9];
         port   = stoi(std::string(what[7]));
+    }
 
-         /*
-         cout << "Connecting to '";
-         if (!user.empty())
-             cout << user << "@";
-         cout << server;
-         if (port)
-             cout << ":" << port;
-         if (!db.empty())
-             cout << "/" << db;
-         cout << "' for " << prgname << endl;
-         */
+    std::string uri() const
+    {
+        std::string rc;
+        if (!user.empty())
+            rc += user+"@";
+        rc += server;
+        if (port)
+            rc += ":"+std::to_string(port);
+        if (!db.empty())
+            rc += "/"+db;
+        return rc;
     }
 };
@@ -49,5 +50,5 @@
 {
 public:
-    Database(const std::string &database) : DatabaseName(database),
+    Database(const std::string &desc) : DatabaseName(desc),
         mysqlpp::Connection(db.c_str(), server.c_str(), user.c_str(), passwd.c_str(), port)
     {
Index: trunk/FACT++/src/drivectrl.cc
===================================================================
--- trunk/FACT++/src/drivectrl.cc	(revision 14045)
+++ trunk/FACT++/src/drivectrl.cc	(revision 14046)
@@ -1228,5 +1228,5 @@
         Database db(fDatabase);
 
-        T::Message("Connected to '"+db.database()+"'");
+        T::Message("Connected to '"+db.uri()+"'");
 
         const mysqlpp::StoreQueryResult res =
