printf("[ERROR] Control database '%s' on '%s' does not contain the required 'stations' table\n\r",m_database->databaseName().ascii(),m_database->hostName().ascii());fflush(stdout);
printf("[ERROR] Control database '%s' on '%s' does not contain the required 'services' table\n\r",m_database->databaseName().ascii(),m_database->hostName().ascii());fflush(stdout);
printf("[ERROR] Control database '%s' on '%s' does not contain the required 'servicetypes' table\n\r",m_database->databaseName().ascii(),m_database->hostName().ascii());fflush(stdout);
printf("[ERROR] Control database '%s' on '%s' does not contain the required 'permissions' table\n\r",m_database->databaseName().ascii(),m_database->hostName().ascii());fflush(stdout);
printf("[ERROR] Control database '%s' on '%s' does not contain the required 'activity' table\n\r",m_database->databaseName().ascii(),m_database->hostName().ascii());fflush(stdout);
TQSqlDatabase::removeDatabase(m_database);
m_database=NULL;
return-1;
}
deletetestCursor;
// Start database ping process
// When combined with the MYSQL_OPT_RECONNECT flag passed above, this will keep the connection open even if the database server goes offline and then comes back online