diff options
author | Aokromes <Aokromes@users.noreply.github.com> | 2016-09-12 00:51:06 +0200 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-26 16:56:45 +0100 |
commit | 927a1b3e1e5b92527ba32880ef2e62c2b430c826 (patch) | |
tree | fdd4e3ff0337d8c0746f500286bc40921ac243e9 | |
parent | 21b0132bd897c0f7713740585b0975a384a1d2e9 (diff) |
Core/Updater: Clarify more 2 errors
(cherry picked from commit fe9f79780e1a6dd14e0876dca54ef4d8c8a0a5ae)
Update DBUpdater.cpp
(cherry picked from commit fb048a4cdbd56102018db5c9149ca2103c1507b2)
Update DBUpdater.cpp
(cherry picked from commit 9250680680399e986736786bb6c3c2ff97ca5b9c)
-rw-r--r-- | src/server/database/Updater/DBUpdater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp index 600f76d42e0..ee2b8ce1989 100644 --- a/src/server/database/Updater/DBUpdater.cpp +++ b/src/server/database/Updater/DBUpdater.cpp @@ -229,7 +229,7 @@ bool DBUpdater<T>::Create(DatabaseWorkerPool<T>& 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` and `DELETE` privileges on the MySQL server?", pool.GetConnectionInfo()->database.c_str()); boost::filesystem::remove(temp); return false; } @@ -251,7 +251,7 @@ bool DBUpdater<T>::Update(DatabaseWorkerPool<T>& 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; } |