diff --git a/src/common/Database/DatabaseWorkerPool.cpp b/src/common/Database/DatabaseWorkerPool.cpp index b687895738..fc2a12c276 100644 --- a/src/common/Database/DatabaseWorkerPool.cpp +++ b/src/common/Database/DatabaseWorkerPool.cpp @@ -18,8 +18,7 @@ DatabaseWorkerPool::DatabaseWorkerPool() : memset(_connectionCount, 0, sizeof(_connectionCount)); _connections.resize(IDX_SIZE); - WPFatal(mysql_thread_safe(), "Used MySQL library isn't thread-safe."); - WPFatal(mysql_get_client_version() >= MIN_MYSQL_CLIENT_VERSION, "AzerothCore does not support MySQL versions below 5.6"); + WPFatal(mysql_thread_safe(), "Used MySQL library isn't thread-safe."); } template @@ -36,9 +35,7 @@ bool DatabaseWorkerPool::Open(const std::string& infoString, uint8 async_thre for (uint8 i = 0; i < async_threads; ++i) { T* t = new T(_queue, _connectionInfo); - res &= t->Open(); - if (res) // only check mysql version if connection is valid - WPFatal(mysql_get_server_version(t->GetHandle()) >= MIN_MYSQL_SERVER_VERSION, "AzerothCore does not support MySQL versions below 5.6"); + res &= t->Open(); _connections[IDX_ASYNC][i] = t; ++_connectionCount[IDX_ASYNC];