I may be wrong here but I sure that the original EXE I created did not need the MySqlLib library DLL when running on a remote machine. Now the remote machine asks for MySqlLib.
Interstingly the file size has changed from 3mb to 2mb.
Any suggestions on what I have changed ?
MySQLLib included in exe
-
AndreyZ
Re: MySQLLib included in exe
Hello,
MyDAC doesn't build the libmysql.dll MySQL client library into applications. MyDAC doesn't use the libmysql.dll library by default, it connects to MySQL server in the direct mode. This problem occurs because you set the TMyConnection.Options.Direct property to False. In this case, MyDAC uses the libmysql.dll MySQL client library instead of connecting in the direct mode. To solve the problem, you should set the TMyConnection.Options.Direct property to True. Please note that it's better to use direct connection, because in this case you don't need libmysql.dll and get higher performance.
MyDAC doesn't build the libmysql.dll MySQL client library into applications. MyDAC doesn't use the libmysql.dll library by default, it connects to MySQL server in the direct mode. This problem occurs because you set the TMyConnection.Options.Direct property to False. In this case, MyDAC uses the libmysql.dll MySQL client library instead of connecting in the direct mode. To solve the problem, you should set the TMyConnection.Options.Direct property to True. Please note that it's better to use direct connection, because in this case you don't need libmysql.dll and get higher performance.