connection,open so slow

I apologize for my English, my question is the following: I have a connection to mysql in a dll which is called by a service in c++, in local mode, connection.open does not take more than 1/2 second, even when I deploy the dll as executable in the server, the connection is fast, but if I compile the whole as dll and I deploy the program in the server (service + dll ), the connection.open takes more than 10 seconds
my dll and service compile in windows10
my serveur is win 2008 r2

0 answers