From fe9f79780e1a6dd14e0876dca54ef4d8c8a0a5ae Mon Sep 17 00:00:00 2001 From: Aokromes Date: Mon, 12 Sep 2016 00:51:06 +0200 Subject: Core/Updater: Clarify more 2 errors --- src/server/database/Updater/DBUpdater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/database/Updater/DBUpdater.cpp') diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp index 8515da9f6f8..eb5cd1cb32d 100644 --- a/src/server/database/Updater/DBUpdater.cpp +++ b/src/server/database/Updater/DBUpdater.cpp @@ -197,7 +197,7 @@ bool DBUpdater::Create(DatabaseWorkerPool& pool) } catch (UpdateException&) { - TC_LOG_FATAL("sql.updates", "Failed to create database %s! Does the user (named in *.conf) have `CREATE` privileges on the MySQL server?", pool.GetConnectionInfo()->database.c_str()); + TC_LOG_FATAL("sql.updates", "Failed to create database %s! Does the user (named in *.conf) have `CREATE`/`ALTER`/`DROP`/`INSERT`/`DELETE` privileges on the MySQL server?", pool.GetConnectionInfo()->database.c_str()); boost::filesystem::remove(temp); return false; } @@ -219,7 +219,7 @@ bool DBUpdater::Update(DatabaseWorkerPool& pool) if (!is_directory(sourceDirectory)) { - TC_LOG_ERROR("sql.updates", "DBUpdater: Given source directory %s does not exist, skipped!", sourceDirectory.generic_string().c_str()); + TC_LOG_ERROR("sql.updates", "DBUpdater: The given source directory %s does not exist, change the path to the directory where your sql directory exists (for example c:\source\trinitycore). Shutting down.", sourceDirectory.generic_string().c_str()); return false; } -- cgit v1.2.3