Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
2.1
-
None
-
None
-
None
-
C code on Windows 8.1 connecting to the database through an ADSL connection
Description
Using the C/C++ connector library (libmariadb.dll v.2.1.0) as a drop-in replacement for the MySQL C connector library (libmysql.dll v.6.1.6 x64) to connect to a MySQL database in the cloud, there is an unduly long lag during mysql_real_connect(), lasting for about twenty to thirty seconds, before the connection is established.
With libmysql.dll, the connection is almost immediate.
However, even with libmariadb.dll, once the connection is established, all other queries are executed without any lags whatsoever.
What could be causing this?