Mysql Static Dll
List: From: Karam Chand Date: November 18 2004 1:06pm Subject: Re: Static library for MySQL C API Thanks. We haev to compile it with mysqlclient.lib I just the binary distribution of MySQL 4.1.7 for Windows. The size of mysqlclient.lib is 1.5MB whereas libmysql.dll is 1.04MB and libmysql.lib is around 33K.
Why is the difference in size? Regards, Karam --- Gleb Paharenko wrote: > Hello. > See: > > > > > Karam Chand wrote: > > Hello, > > > > Is it possible to get static library for MySQL C > API() > > instead of libmysql.dll? > > > > Regards, > > Karam > > > > > > > > __________________________________ > > Do you Yahoo!?
> > Meet the all-new My Yahoo! - Try it today! > > > > > > > > > > > -- > For technical support contracts, goto > > This email is sponsored by Ensita.NET > > __ ___ ___ ____ __ > / / /_ __/ __/ __ / / Gleb Paharenko > / / _/ / // / / /_/ / /__ > Gleb.Paharenko@ stripped > /_/ /_/ _, /___/ ___ _ ___/ MySQL AB / Ensita.NET > > > > > -- > MySQL General Mailing List > For list archives: > To unsubscribe: > > > __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today!
Jun 01, 2015 The static version is only needed for linux, you can you mysql.dll on windows with no problem. Head of Web Development If I have assisted you in anyway, please kindly click the ' ' button to the left of this text. Connector/C++ is available as a dynamic or static library to use with your. To use a dynamic library file (.dll extension), link your application with a.lib import.
Thread • • • Re: Static library for MySQL C API Karam Chand 18 Nov •.
My understanding is that you are supposed to link against the.lib file, and the.dll is used at runtime. From: You link your code with either the dynamic or static C client library. On Windows, the static library is named mysqlclient.lib and the dynamic library is named libmysql.dll.
In addition, the libmysql.lib static import library is needed for using the dynamic library. If the static C client library is used, the client application must be compiled with the same version of Visual Studio used to compile the C client library (which is Visual Studio 2013 for the static C client library built by Oracle).
Regards, Juan On 6/1/18 9:53 AM, Romain LEGUAY wrote. On 6/1/2018 6:30 PM, Romain LEGUAY wrote: > Thank you for your answer. > > I just want to find the file libmysql.dll because it's needed to be > used with Qt (unless I did not understand how to use Qt's MySQL driver). > For now, I just do a simple copy of this file in my build folder, but > it's not a good method. So, for Windows runtime you have to have the dll in the same directory as the exe or in the PATH. There is no concept of rpath built into an exe. -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community.
For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe. Powered by Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe: -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe. Romain -- Powered by Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community.
For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe: -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: CMake Consulting: CMake Training Courses: Visit other Kitware open-source projects at Follow this link to subscribe/unsubscribe.