mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/DBUpdater: Fixed db updater for mysql 8 on windows using named pipe connections
This commit is contained in:
@@ -378,7 +378,10 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
|
||||
// Check if we want to connect through ip or socket (Unix only)
|
||||
#ifdef _WIN32
|
||||
|
||||
args.push_back("-P" + port_or_socket);
|
||||
if (host == ".")
|
||||
args.push_back("--protocol=PIPE");
|
||||
else
|
||||
args.push_back("-P" + port_or_socket);
|
||||
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user