// Ensure we have the proper schema with no transient data.
createCqlSchema();
try {
- HostMgr::delBackend("cql");
+ HostMgr::create();
HostMgr::addBackend(validCqlConnectionString());
} catch (...) {
cerr << "ERROR: unable to open database" << endl;
// Ensure we have the proper schema with no transient data.
createMySQLSchema();
try {
- HostMgr::delBackend("mysql");
+ HostMgr::create();
HostMgr::addBackend(validMySQLConnectionString());
} catch (...) {
cerr << "ERROR: unable to open database" << endl;
// Ensure we have the proper schema with no transient data.
createPgSQLSchema();
try {
- HostMgr::delBackend("postgresql");
+ HostMgr::create();
HostMgr::addBackend(validPgSQLConnectionString());
} catch (...) {
cerr << "ERROR: unable to open database" << endl;