Core/Updater: Clarify more 2 errors

This commit is contained in:
Aokromes
2016-09-12 00:51:06 +02:00
committed by GitHub
parent 12a6ade3ee
commit fe9f79780e

View File

@@ -197,7 +197,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`/`DELETE` privileges on the MySQL server?", pool.GetConnectionInfo()->database.c_str());
boost::filesystem::remove(temp);
return false;
}
@@ -219,7 +219,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;
}