<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Connector/C (libmysqlclient)</title>
        <description>Forum for Connector/C (libmysqlclient)</description>
        <link>https://forums.mysql.com/list.php?168</link>
        <lastBuildDate>Wed, 10 Jun 2026 07:00:18 +0000</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forums.mysql.com/read.php?168,741810,741810#msg-741810</guid>
            <title>connect --ssl-mode:REQURED&lt; : MYSQL_OPT_SSL_MODE (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,741810,741810#msg-741810</link>
            <description><![CDATA[ Hello everyone, my name is Jorge. I work with the Xbase++ language and use the MySQL libmysql.dll library version 8.0.44.  <br />
The issue I’m having is that I can’t correctly set the options to connect to a database with SSL enabled. <br />
From the command line it works perfectly with:<br />
mysql -h &lt;ip&gt; -P 3306 -u &lt;user&gt; -p --ssl-mode=REQUIRED<br />
However, in my application I execute the following steps and I can’t get it to connect:<br />
<br />
MYSQL_OPT_SSL_MODE I searched for it on Google because in xbase I don&#039;t have the possibility of accessing the structures of mysql.h and mysql_com.h<br />
#define MYSQL_OPT_SSL_MODE 129   <br />
<br />
nFlag   := 0<br />
cSocket := &#039;&#039;<br />
nPort   := 3306<br />
pMySql  := mysql_init()<br />
<br />
nMode   := U2Bin( 2 )     // &quot;REQUIRED&quot;<br />
mysql_options( pMySql, MYSQL_OPT_SSL_MODE, @nMode )<br />
<br />
mysql_real_connect( @pMysql, @cServer, @cUser, @cPassword, NIL, @nPort, @cSocket, @nFlag )<br />
<br />
<br />
I also tried setting the call to mysql_ssl_set( @pMySql ) before mysql_real_connect(), and combining it with the parameter nFlag := CLIENT_SSL (value 2048), but without success.  <br />
Could you help me understand what the correct steps are to configure SSL in this scenario and get the connection to work the same way as from the mysql.exe client with --ssl-mode=REQUIRED?  <br />
Thank you very much for your time and any guidance you can provide!]]></description>
            <dc:creator>Jorge Luis Borlando</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Sat, 02 May 2026 14:57:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,741530,741530#msg-741530</guid>
            <title>How to properly use mysql_config (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,741530,741530#msg-741530</link>
            <description><![CDATA[ Hi, ALL,<br />
In my Makefile.am I have the following:<br />
<br />
<pre class="bbcode">
libmysql_lib_la_CXXFLAGS = `mysql_config \
   --cflags` \
   -I../../dbinterface \
   -DUNICODE \
   @DBTOOLKIT@

libmysql_lib_la_LDFLAGS = `mysql_config \
   --libs`</pre>
<br />
Is _LDFLAGS correct place? Or I should put it in some other variable, namely _LIBS?<br />
<br />
Thank you.]]></description>
            <dc:creator>Igor Korot</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Sun, 04 Jan 2026 21:18:28 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,740892,740892#msg-740892</guid>
            <title>MySQL C client library version for 9.x (2 replies)</title>
            <link>https://forums.mysql.com/read.php?168,740892,740892#msg-740892</link>
            <description><![CDATA[ Hello,<br />
<br />
With MySQL 9.3 &quot;Innovation Release&quot;, I see that the major version number of the C client library has not changed from MySQL 8.4 (it&#039;s still .24):<br />
<br />
 libmysqlclient.so -&gt; libmysqlclient.so.24<br />
 libmysqlclient.so.24 -&gt; libmysqlclient.so.24.1.0<br />
 libmysqlclient.so.24.1.0<br />
<br />
This is all fine, as long as the .24 version stays the same (assuming that no incompatible API changes are introduced with version 9) <br />
<br />
Can MySQL community please make sure this will be the case?<br />
<br />
I mean, please do NOT change the API / lib version just before releasing the LTS!<br />
<br />
Thanks!<br />
Seb]]></description>
            <dc:creator>Sebastien FLAESCH</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Thu, 15 Jan 2026 14:37:31 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,733764,733764#msg-733764</guid>
            <title>Errror on failure is empty (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,733764,733764#msg-733764</link>
            <description><![CDATA[ Hi, ALL,<br />
<br />
Trying the following code:<br />
<br />
<pre class="bbcode">
    m_db = mysql_init( m_db );
    if( !m_db )
    {
    }
    else
    {
        m_db = mysql_real_connect( m_db, m_pimpl-&gt;m_myconv.to_bytes( m_pimpl-&gt;m_host.c_str() ).c_str(), m_pimpl-&gt;m_myconv.to_bytes( m_pimpl-&gt;m_user.c_str() ).c_str(), m_pimpl-&gt;m_myconv.to_bytes( m_pimpl-&gt;m_password.c_str() ).c_str(), m_pimpl-&gt;m_myconv.to_bytes( m_pimpl-&gt;m_dbName.c_str() ).c_str(), m_port, m_pimpl-&gt;m_socket == L&quot;&quot; ? NULL : m_pimpl-&gt;m_myconv.to_bytes( m_pimpl-&gt;m_socket.c_str() ).c_str(), m_flags );
            if( !m_db )
            {
                auto e = mysql_error( m_db );
            }
    }</pre>
<br />
When executing I don&#039;t have a successful connection, but the &quot;e&quot; does not contain anything.<br />
<br />
mySQL 8 is running on Linux machine and I&#039;m trying to connect from Windows.<br />
<br />
Is this a bug?<br />
<br />
Thank you.]]></description>
            <dc:creator>Igor Korot</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Sat, 23 Nov 2024 20:41:35 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,724000,724000#msg-724000</guid>
            <title>MySQL X DevAPI connectors utf8 issue (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,724000,724000#msg-724000</link>
            <description><![CDATA[ The function &#039;mysqlx_collection_modify_set&#039; should be capable of updating or creating the key name &quot;_b_ke-y$fkæøåÆåø&quot;, but it is not performing any action when attempting to do so. However, it works as expected when the key name is something like &quot;test&quot;.<br />
<br />
I&#039;m using it in this way:<br />
<br />
 mysqlx_collection_t *collection_ = mysqlx_get_collection(schema, collection, 0);<br />
<br />
                    mysqlx_stmt_t *stmt2 = mysqlx_collection_modify_new(collection_);<br />
<br />
                    mysqlx_set_modify_set(stmt2,  &quot;_b_ke-y$fkæøåÆåø&quot;, PARAM_EXPR(&quot;{\&quot;username\&quot;:\&quot;test\&quot;}&quot;), PARAM_END);]]></description>
            <dc:creator>Jens hansen</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Thu, 02 May 2024 20:03:57 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,723976,723976#msg-723976</guid>
            <title>IoT connector (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,723976,723976#msg-723976</link>
            <description><![CDATA[ I&#039;m trying to connect my IoT device (Tibbo) to my local server mysql instance.  The device has its own IDE and library set which unfortunately doesn&#039;t include a mysqlclient library.<br />
A previous user had put together a primitive mysql_client code in basic,which doesn&#039;t work to connect because of password encryption changes. They used a salt followed by sha1/sha1.<br />
Could someone steer me to a codebase that I could use to build a new mysql client in C.  I have limited encryption library functions (sha1,AES128,RC4)]]></description>
            <dc:creator>Robert Watson</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Wed, 01 May 2024 20:32:53 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,723465,723465#msg-723465</guid>
            <title>MySQL X DevAPI connectors bind dont work with bytes (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,723465,723465#msg-723465</link>
            <description><![CDATA[ Hi there!<br />
<br />
I have tried both C and Node.js X DevAPI Connector to connect to my Mysql Document Store server. The connection is established, but the server does not seem to understand my search criteria when I use bytes format.<br />
<br />
By byte format, I mean that the following C code does not work:<br />
<br />
mysqlx_set_find_criteria(query, &quot;field_name = :param&quot;);<br />
mysqlx_stmt_bind(query, &quot;param&quot;, PARAM_BYTES(bytes, 3), PARAM_END);<br />
<br />
but the following works and seems to do exactly the same as the above:<br />
<br />
mysqlx_set_find_criteria(query, &quot;field_name = [12, 4, 0]&quot;);<br />
mysqlx_stmt_bind(query, &quot;param&quot;, PARAM_BYTES(bytes, 3), PARAM_END);<br />
<br />
<br />
I don&#039;t understand what the problem is and why it can&#039;t find the document and what is the idea of &#039;PARAM_BYTES&#039; if you can&#039;t compare field value with bytes?<br />
<br />
<br />
In the Node.js world the following code does not work::<br />
<br />
const result = await collection.find(&quot;field_name = :param&quot;)<br />
                                        .bind(&#039;param&#039;, Buffer.from([12, 4, 0]))<br />
                                        .execute();<br />
<br />
but the following seems to work and do exactly the same as the above:<br />
<br />
const result = await collection.find(&quot;field_name = [12, 4, 0]&quot;)<br />
                                        .bind(&#039;param&#039;, Buffer.from([12, 4, 0]))<br />
                                        .execute();<br />
<br />
I hope someone can help me and confirm the reason why it doesn&#039;t work]]></description>
            <dc:creator>Jens hansen</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Sun, 24 Mar 2024 14:34:21 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,722924,722924#msg-722924</guid>
            <title>MySQL 8.3.0 increments libmysqlclient.so lib version from 22 to 23 (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,722924,722924#msg-722924</link>
            <description><![CDATA[ Hello,<br />
<br />
Just installed MySQL 8.3.0 on my Linux Debian 11, and I can see that the shared lib version number of libmysqlclient.so has been incremented from 22 to 23:<br />
<br />
    libmysqlclient.so.23<br />
<br />
I just want to get a confirmation that this is expected.<br />
<br />
I assume it&#039;s because the API/ABI of the library has changed and is no longer compatible with libmysqlclient.so.23 - is this the case?<br />
<br />
In fact, we deliver our C binary linked with libmysqlclient, which results in a dependency to the shared lib with version number (this is normal on Linux):<br />
<br />
$ ldd -r $FGLDIR/dbdrivers/dbmmys_8_2.so<br />
        ...<br />
	libmysqlclient.so.22 =&gt; /opt3/dbs/mys/8.2/lib/libmysqlclient.so.22 (0x00007f6bca430000)<br />
        ...<br />
<br />
<br />
If we want to support MySQL 8.3.x, we will have to build a specific binary linked with libmysqlclient.so.23<br />
<br />
We have our own installer and do not use Linux packaging systems.<br />
<br />
Since we want to support various versions of MySQL, we must deliver a binary for each of the existing libmysqlclient.so.xxx versions.<br />
So far we have binaries for:<br />
   libmysqlclient.so.20  ( MySQL 5.7 )<br />
   libmysqlclient.so.21  ( MySQL 8.0 )<br />
   libmysqlclient.so.22  ( MySQL 8.2 )<br />
<br />
I would expect NO VERSION NUMBER increment, if the libmysqlclient shared libs of 8.3.x is compatible with 8.2.x<br />
<br />
What are the libmysqlclient API changes in 8.3.0 ?<br />
<br />
Seb]]></description>
            <dc:creator>Sebastien FLAESCH</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Wed, 21 Feb 2024 15:12:39 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,710151,710151#msg-710151</guid>
            <title>Running the program on OSX fails (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,710151,710151#msg-710151</link>
            <description><![CDATA[ Hi, ALL,<br />
<br />
I built libmysqlclient from sources on my Apple laptop. Everything built fine.<br />
<br />
Then I built my program that will be using this on the same laptop. The build succeeded. I&#039;m using the Xcode to build my program<br />
<br />
In the end of the build it runs following command:<br />
<br />
<pre class="bbcode">
    cp -f ~/dbhandler/dbhandler/mysql-server/BuildOSX/libmysql/libmysqlclient.dylib &quot;$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/libmysqlclient.dylib&quot;
    
    install_name_tool -id &quot;@rpath/Frameworks/libmysqlclient.dylib&quot; &quot;$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/libmysqlclient.dylib&quot;
    
    cp ~/dbhandler/dbhandler/Build/Products/Debug/liblibmysql.dylib &quot;$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibmysql.dylib&quot;
    
    install_name_tool -id &#039;@rpath/Frameworks/liblibmysql.dylib&#039; &quot;$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibmysql.dylib&quot;
    
    install_name_tool -change &quot;/Users/igorkorot/dbhandler/dbhandler/mysql-server/buildOSX/libmysql/libmysqlclient.21.dylib&quot; @executable_path/../Frameworks/libmysqlclient.dylib &quot;$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibmysql.dylib&quot;

    install_name_tool -change &quot;/usr/local/lib/liblibmysql.dylib&quot; @executable_path/../Frameworks/liblibmysql.dylib &quot;$TARGET_BUILD_DIR/$TARGET_NAME.app/Contents/Frameworks/liblibdbloader.dylib&quot;</pre>
<br />
so that the library can be used from inside the Bundle.<br />
<br />
When verifying, I have the following:<br />
<br />
<pre class="bbcode">
    Igors-MacBook-Air:Frameworks igorkorot$ otool -L liblibmysql.dylib 
    liblibmysql.dylib:
    	@rpath/Frameworks/liblibmysql.dylib (compatibility version 1.0.0, current version 1.0.0)
    	@executable_path/../Frameworks/libmysqlclient.dylib (compatibility version 21.0.0, current version 21.0.0)
    	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
    	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
    Igors-MacBook-Air:Frameworks igorkorot$ otool -L libmysqlclient.dylib 
    libmysqlclient.dylib:
    	@rpath/Frameworks/libmysqlclient.dylib (compatibility version 21.0.0, current version 21.0.0)
    	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
    	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
    Igors-MacBook-Air:Frameworks igorkorot$ pwd
    /Users/igorkorot/dbhandler/dbhandler/Build/Products/Debug/dbhandler.app/Contents/Frameworks
    Igors-MacBook-Air:Frameworks igorkorot$</pre>
<br />
As far as I understand the &quot;otool&quot; output - everything is linked to the place inside the Bundle.<br />
<br />
However when I tried to run my application (from Terminal with &quot;open dbhandler.app&quot;), I get the following error:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />
Failed to load shared library liblibdbloader.dylib<br />
dlopen(liblibdbloader.dylib, 2). Library not loaded: /usr/local/lib/liblibmysql.dylib.<br />
    Referenced from<br />
    Reason: image not found</div></blockquote>
<br />
The dbloader.dylib library had been re-linked to the libmysql that was copied to the new place (and otool seems to confirm that):<br />
<br />
<pre class="bbcode">
Igors-MacBook-Air:Frameworks igorkorot$ otool -L liblibdbloader.dylib 
liblibdbloader.dylib:
	@rpath/Framework/liblibdbloader.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 158.0.0)
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
	/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 492.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
	/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_osx_cocoau_xrc-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_osx_cocoau_html-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_osx_cocoau_qa-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_osx_cocoau_adv-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_osx_cocoau_core-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_baseu_xml-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_baseu_net-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/libwx_baseu-3.2.dylib (compatibility version 1.0.0, current version 1.0.0)
	/Library/Frameworks/iODBC.framework/Versions/3.52/iODBC (compatibility version 1.0.0, current version 3.52.14)
	@executable_path/../Frameworks/liblibmysql.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/liblibpostgres.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/liblibodbc.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../Frameworks/liblibsqlite.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.0)
Igors-MacBook-Air:Frameworks igorkorot$</pre>
<br />
So what am I missing? Could someone look at that?<br />
<br />
I&#039;m not sure what else do I need to do in order to have successful run...<br />
<br />
Thank you in advance.]]></description>
            <dc:creator>Igor Korot</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Wed, 11 Oct 2023 02:25:57 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,709805,709805#msg-709805</guid>
            <title>Connection vb.net 2010 with database (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,709805,709805#msg-709805</link>
            <description><![CDATA[ Hi,<br />
I am using the connector/C in combination in combination with visual basic in visual studio 2010. <br />
The connection with the normal connection string (server,uid,pwd,port,database) wont work and raises this error: &#039;a Call to SSPI failed, see internal error&#039;.<br />
I tried working around that error with an extra argument in the connectionstring, sslMode=none. When I connect with that string, it raises the next error:&#039;Authentication method &#039;caching_sha2_password&#039; not supported by any of the available plugins.<br />
<br />
Can someone help pls?]]></description>
            <dc:creator>Stef Geudens</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Fri, 18 Aug 2023 12:09:04 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,707088,707088#msg-707088</guid>
            <title>NO_DATA is returned while there is a data (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,707088,707088#msg-707088</link>
            <description><![CDATA[ Hi, ALL,<br />
<br />
Following code returns MYSQL_NO_DATA for the table where there is definitly a foreign key.<br />
<br />
Could someone please explain what I am doing wrong?<br />
<br />
Thank you.<br />
<br />
<pre class="bbcode">
    std::wstring cat, table = L&quot;owners&quot;, schema = L&quot;draft&quot;;
    int result = 0;
    std::wstring query2 = L&quot;SELECT kcu.column_name, kcu.ordinal_position, kcu.referenced_table_schema, kcu.referenced_table_name, kcu.referenced_column_name, rc.update_rule, rc.delete_rule, rc.constraint_name FROM information_schema.key_column_usage kcu, information_schema.referential_constraints rc WHERE kcu.constraint_name = rc.constraint_name AND kcu.table_catalog = ? AND kcu.table_schema = ? AND kcu.table_name = ?;&quot;;
    char *col_name[256], ref_schema[256], ref_table[256], ref_column[256], constraint_name[256];
    char update_rule[20], delete_rule[20];
    int ordinal;
    std::map&lt;unsigned long, std::vector&lt;FKField *&gt; &gt; foreign_key;
    unsigned long str_length1, str_length2, str_length3;
    str_length1 = catalog.length() + 2;
    str_length2 = schemaName.length() + 2;
    str_length3 = tableName.length() + 2;
    char *cat = new char[str_length1], *schema = new char[str_length2], *table = new char[str_length3];
    memset( cat, &#039;\0&#039;, str_length1);
    memset( schema, &#039;\0&#039;, str_length2 );
    memset( table, &#039;\0&#039;, str_length3 );
    strcpy( cat, m_pimpl-&gt;m_myconv.to_bytes( catalog.c_str() ).c_str() );
    strcpy( schema, m_pimpl-&gt;m_myconv.to_bytes( schemaName.c_str() ).c_str() );
    strcpy( table, m_pimpl-&gt;m_myconv.to_bytes( tableName.c_str() ).c_str() );
    MYSQL_BIND params[3];
    memset( params, 0, sizeof( params ) );
    auto res1 = mysql_stmt_init( m_db );
    if( !res1 )
    {
        std::wstring err = m_pimpl-&gt;m_myconv.from_bytes( mysql_stmt_error( res1 ) );
        errorMsg.push_back( err );
        result = 1;
    }
    else
    {
        if( mysql_stmt_prepare( res1, m_pimpl-&gt;m_myconv.to_bytes( query2.c_str() ).c_str(), query2.length() ) )
        {
            std::wstring err = m_pimpl-&gt;m_myconv.from_bytes( mysql_stmt_error( res1 ) );
            errorMsg.push_back( err );
            result = 1;
        }
        else
        {
            params[0].buffer_type = MYSQL_TYPE_STRING;
            params[0].buffer = (char *) cat;
            params[0].buffer_length = strlen( cat );
            params[0].is_null = 0;
            params[0].length = &amp;str_length1;
            params[1].buffer_type = MYSQL_TYPE_STRING;
            params[1].buffer = (char *) schema;
            params[1].buffer_length = strlen( schema );
            params[1].is_null = 0;
            params[1].length = &amp;str_length2;
            params[2].buffer_type = MYSQL_TYPE_STRING;
            params[2].buffer = (char *) table;
            params[2].buffer_length = strlen( table );
            params[2].is_null = 0;
            params[2].length = &amp;str_length3;
            strcpy( cat, m_pimpl-&gt;m_myconv.to_bytes( catalog.c_str() ).c_str() );
            strcpy( schema, m_pimpl-&gt;m_myconv.to_bytes( schemaName.c_str() ).c_str() );
            strcpy( table, m_pimpl-&gt;m_myconv.to_bytes( tableName.c_str() ).c_str() );
            if( mysql_stmt_bind_param( res1, params ) )
            {
                std::wstring err = m_pimpl-&gt;m_myconv.from_bytes( mysql_stmt_error( res1 ) );
                errorMsg.push_back( err );
                result = 1;
            }
            else
            {
                if( mysql_stmt_execute( res1 ) )
                {
                    std::wstring err = m_pimpl-&gt;m_myconv.from_bytes( mysql_stmt_error( res1 ) );
                    errorMsg.push_back( err );
                    result = 1;
                }
                else
                {
                    MYSQL_BIND results1[8];
                    bool is_null[8], error[8];
                    unsigned long length[8];
                    memset( results1, 0, sizeof( results1 ) );
                    results1[0].buffer_type = MYSQL_TYPE_STRING;
                    results1[0].buffer = &amp;col_name;
                    results1[0].buffer_length = 256;
                    results1[0].is_null = &amp;is_null[0];
                    results1[0].length = &amp;length[0];
                    results1[0].error = &amp;error[0];
                    results1[1].buffer_type = MYSQL_TYPE_SHORT;
                    results1[1].buffer = (char *) &amp;ordinal;
                    results1[1].is_null = &amp;is_null[1];
                    results1[1].error = &amp;error[1];
                    results1[1].length = &amp;length[1];
                    results1[2].buffer_type = MYSQL_TYPE_STRING;
                    results1[2].buffer = &amp;ref_schema;
                    results1[2].buffer_length = 256;
                    results1[2].is_null = &amp;is_null[2];
                    results1[2].length = &amp;length[2];
                    results1[2].error = &amp;error[2];
                    results1[3].buffer_type = MYSQL_TYPE_STRING;
                    results1[3].buffer = &amp;ref_table;
                    results1[3].buffer_length = 256;
                    results1[3].error = &amp;error[3];
                    results1[3].length = &amp;length[3];
                    results1[3].error = &amp;error[3];
                    results1[4].buffer_type = MYSQL_TYPE_STRING;
                    results1[4].buffer = &amp;ref_column;
                    results1[4].buffer_length = 256;
                    results1[4].is_null = &amp;is_null[4];
                    results1[4].length = &amp;length[4];
                    results1[4].error = &amp;error[4];
                    results1[5].buffer_type = MYSQL_TYPE_STRING;
                    results1[5].buffer = &amp;update_rule;
                    results1[5].buffer_length = 20;
                    results1[5].length = &amp;length[5];
                    results1[5].is_null = &amp;is_null[5];
                    results1[5].error = &amp;error[5];
                    results1[6].buffer_type = MYSQL_TYPE_STRING;
                    results1[6].buffer_length = 20;
                    results1[6].buffer = &amp;delete_rule;
                    results1[6].length = &amp;length[6];
                    results1[6].is_null = &amp;is_null[6];
                    results1[6].error = &amp;error[6];
                    results1[7].buffer_type = MYSQL_TYPE_STRING;
                    results1[7].buffer = &amp;constraint_name;
                    results1[7].buffer_length = 256;
                    results1[7].is_null = &amp;is_null[7];
                    results1[7].length = &amp;length[7];
                    results1[7].error = &amp;error[7];
                    if( mysql_stmt_bind_result( res1, results1 ) )
                    {
                        std::wstring err = m_pimpl-&gt;m_myconv.from_bytes( mysql_stmt_error( res1 ) );
                        errorMsg.push_back( err );
                        result = 1;
                    }
                    else
                    {
                        while( true )
                        {
                            auto dataset = mysql_stmt_fetch( res1 );
                            if( dataset == 1 || dataset == MYSQL_NO_DATA )
                                break;
                            else
                            {
                                auto orig_col = m_pimpl-&gt;m_myconv.from_bytes( *col_name );
                                auto refCol = m_pimpl-&gt;m_myconv.from_bytes( ref_column );
                                auto refSchema = m_pimpl-&gt;m_myconv.from_bytes( ref_schema );
                                auto refTable = m_pimpl-&gt;m_myconv.from_bytes( ref_table );
                                std::map&lt;int, std::vector&lt;std::wstring&gt; &gt;origFields, refFields;
                                origFields[ordinal].push_back( orig_col );
                                refFields[ordinal].push_back( refCol );
//                                foreign_key[ordinal].push_back( new FKField( ordinal, constraint_name, schemaName, tableName, orig_col, refSchema refTable, refCol, origFields[ordinal], refFields[ordinal], 
                            }
                        }
                        if( mysql_stmt_close( res1 ) )
                        {
                            std::wstring err = m_pimpl-&gt;m_myconv.from_bytes( mysql_stmt_error( res1 ) );
                            errorMsg.push_back( err );
                            result = 1;
                        }
                    }
                }
            }
        }
    }
</pre>]]></description>
            <dc:creator>Igor Korot</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Sun, 25 Dec 2022 05:52:59 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,706805,706805#msg-706805</guid>
            <title>Connection error with MySQL 8.0.28 and above onwards (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,706805,706805#msg-706805</link>
            <description><![CDATA[ Hi,<br />
<br />
From our product, we use Mysql as an optional database.<br />
<br />
It was working fine till Mysql 8.0.27.<br />
<br />
But, from Mysql 8.0.28, we are getting error as “SSL connection error” and error number as 2026.<br />
<br />
We are calling MySQL Connector APIs as below.<br />
=========================================<br />
m_pMySQL = mysql_init( m_pMySQL );<br />
mysql_real_connect( m_pMySQL, workingHost, user, password, server, port, NULL, CLIENT_MULTI_STATEMENTS );<br />
=========================================<br />
<br />
Error we are getting from the API call mysql_real_connect().<br />
<br />
What different, we need to do for Mysql 8.0.28 in this context for successful connection.<br />
<br />
Regards<br />
Rajib]]></description>
            <dc:creator>Rajib Saha</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Wed, 23 Nov 2022 15:28:44 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,706626,706626#msg-706626</guid>
            <title>[feature] Provide Config Files and Imported Targets for CMake. (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,706626,706626#msg-706626</link>
            <description><![CDATA[ It is an upcoming trend to link libraries with an IMPORTED library targets when using CMake. <br />
However, according to my observation, MySQL-Connector/C (libmysqlclient) doesn&#039;t prepare a Config Files for find_package(). <br />
Therefore, some projects or users may need to design their own Module Files called &quot;FindMySQL.cmake&quot; as an alternative solution.<br />
<br />
The followings are the &quot;FindMySQL.cmake&quot; that I found:<br />
<br />
- SOCI: <a href="https://github.com/SOCI/soci/blob/master/cmake/modules/FindMySQL.cmake"  rel="nofollow">https://github.com/SOCI/soci/blob/master/cmake/modules/FindMySQL.cmake</a><br />
- VTK: <a href="https://github.com/Kitware/VTK/blob/master/CMake/FindMySQL.cmake"  rel="nofollow">https://github.com/Kitware/VTK/blob/master/CMake/FindMySQL.cmake</a><br />
- Debian: <a href="https://sources.debian.org/src/mysql-connector-c%2B%2B/1.1.12-4/FindMySQL.cmake/"  rel="nofollow">https://sources.debian.org/src/mysql-connector-c%2B%2B/1.1.12-4/FindMySQL.cmake/</a><br />
- kexi: <a href="https://github.com/KDE/kexi/blob/master/cmake/modules/FindMySQL.cmake"  rel="nofollow">https://github.com/KDE/kexi/blob/master/cmake/modules/FindMySQL.cmake</a><br />
- poco: <a href="https://github.com/pocoproject/poco/blob/master/cmake/FindMySQL.cmake"  rel="nofollow">https://github.com/pocoproject/poco/blob/master/cmake/FindMySQL.cmake</a><br />
- sqlpp11: <a href="https://github.com/rbock/sqlpp11/blob/main/cmake/FindMySQL.cmake"  rel="nofollow">https://github.com/rbock/sqlpp11/blob/main/cmake/FindMySQL.cmake</a><br />
<br />
However, their IMPORTED library targets differ, and some of them doesn&#039;t even define it. For example:<br />
<br />
- MySQL::MySQL<br />
- MySQL::client<br />
<br />
I hope MySQL can provide an official Config Files, for example &quot;MySQLConfig.cmake&quot;, <br />
and then define an official IMPORTED library target for MySQL-Connector/C (libmysqlclient)<br />
<br />
BTW, I noticed that there is a comment noted in MySQL-Connector/C++ project.<br />
<br />
- Link: <a href="https://github.com/mysql/mysql-connector-cpp/blob/8.0.31/jdbc/CMakeLists.txt#L139"  rel="nofollow">https://github.com/mysql/mysql-connector-cpp/blob/8.0.31/jdbc/CMakeLists.txt#L139</a><br />
- Comment: Arrange for MySQL::client to refer to the static library<br />
<br />
Does it mean that MySQL official is preparing to do so and already decided to name its official IMPORTED target name as &quot;MySQL::client&quot;?]]></description>
            <dc:creator>Haowei Hsu</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Wed, 02 Nov 2022 12:47:08 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,705876,705876#msg-705876</guid>
            <title>How to build mysqlclient.lib 5.7 without MSVCR120 dependency (3 replies)</title>
            <link>https://forums.mysql.com/read.php?168,705876,705876#msg-705876</link>
            <description><![CDATA[ In the docs here (https://dev.mysql.com/doc/c-api/5.7/en/c-api-building-clients.html), it&#039;s stated that for MySQL Community versions 5.7.18, VS2013 redistributable is needed for applications, which means an extra dependency is generated.<br />
<br />
I basically look for an updated MySQL 5.7.30+ client static library that has no MSVCR120.dll dependency (unless it comes with Windows 10 by default, which I&#039;d be fine with, and someone might know).<br />
<br />
However, in the docs it&#039;s implied that this dependency isn&#039;t needed for Commercial MySQL distributions.<br />
<br />
Does anyone have an idea on how to compile a MySQL client static library without that dependency on Windows? So far I&#039;ve been forced to use the outdated 6.1.9 client library (old versioning), which doesn&#039;t have that dependency and doesn&#039;t even require my wrapping program to match the Runtime Library option from Visual Studio (/MT, /MD), etc. Isn&#039;t it just possible to produce an updated static client library with the flexibility that old library versions had?]]></description>
            <dc:creator>Adrián G.</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Mon, 22 Aug 2022 14:05:18 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,705343,705343#msg-705343</guid>
            <title>my_global.h, my_getopt.h, etc missing from MySQL 8 devel (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,705343,705343#msg-705343</link>
            <description><![CDATA[ I have a C program that used to compile with MySQL versions 3.23 to 5.5<br />
<br />
I am trying compile it with MySQL 8.  my_global.h, my_getopt.h and a few other header files are not included in the mysql-devel package.<br />
<br />
I can compile fine with mariadb-devel.<br />
<br />
What is the best way to get around this problem.  Is it okay to compile with mariadb-devel and run with libmysqlclient.so from MySQL 8.<br />
<br />
Are there replacement header files for MySQL 8 that provide the functions provided by my_getopt.h and my_global.h?]]></description>
            <dc:creator>John Wythe</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Tue, 19 Jul 2022 07:10:11 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,705236,705236#msg-705236</guid>
            <title>How to build MySQL 8.0 C API (libmysqlclient) (no replies)</title>
            <link>https://forums.mysql.com/read.php?168,705236,705236#msg-705236</link>
            <description><![CDATA[ How to build MySQL 8.0 C API (libmysqlclient)<br />
- <a href="https://lefred.be/content/how-to-build-mysql-8-0-c-api-libmysqlclient/"  rel="nofollow">https://lefred.be/content/how-to-build-mysql-8-0-c-api-libmysqlclient/</a>]]></description>
            <dc:creator>Edwin Desouza</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Tue, 12 Jul 2022 15:47:30 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,705157,705157#msg-705157</guid>
            <title>Is it ok that high version libmysqlclient.a to connect low version mysql? (2 replies)</title>
            <link>https://forums.mysql.com/read.php?168,705157,705157#msg-705157</link>
            <description><![CDATA[ libmysqlclient.a version is 8.0.25<br />
mysql version is 8.0.18]]></description>
            <dc:creator>hello okay</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Thu, 28 Jul 2022 13:55:29 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,705104,705104#msg-705104</guid>
            <title>Not consisent result about mysql_stmt_execute and mysql_stmt_errno. (2 replies)</title>
            <link>https://forums.mysql.com/read.php?168,705104,705104#msg-705104</link>
            <description><![CDATA[ Mysql version: 8.0.18<br />
<br />
What&#039;s the reason of the result of mysql_stmt_execute not equal zero, but mysql_stmt_errno return zero?<br />
<br />
According to doc, <a href="https://dev.mysql.com/doc/c-api/8.0/en/mysql-stmt-errno.html"  rel="nofollow">https://dev.mysql.com/doc/c-api/8.0/en/mysql-stmt-errno.html</a>,<br />
An error code value. Zero if no error occurred.<br />
<br />
If result of mysql_stmt_execute not equal zero, it means fail to call mysql_stmt_execute, but mysql_stmt_errno return zero, this conflicts.]]></description>
            <dc:creator>hello okay</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Thu, 28 Jul 2022 14:39:32 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,705037,705037#msg-705037</guid>
            <title>After kill query, mysql_stmt_close() hangs for prepared stmt (4 replies)</title>
            <link>https://forums.mysql.com/read.php?168,705037,705037#msg-705037</link>
            <description><![CDATA[ Since MySQL 5.7 SQL interruption is broken in our application.<br />
<br />
Did you ever CTRL-C a long running query with mysql command line tool? It works,  because mysql.cc uses mysql_real_query(), but when using mysql_stmt_prepare() / mysql_bind_param() / mysql_stmt_execute() as our application there is a problem. <br />
<br />
Just installed 8.0.29 and the problem gets worse: First it was limited to long running SELECT statements, now (since 8.0.x) UPDATE waiting for a lock is also broken...<br />
<br />
Just giving a heads up here because I don&#039;t get much help on the reported bug ticket.<br />
<br />
All details with sample program here:<br />
<br />
<a href="https://bugs.mysql.com/bug.php?id=84470"  rel="nofollow">https://bugs.mysql.com/bug.php?id=84470</a><br />
<br />
BR<br />
Seb]]></description>
            <dc:creator>Sebastien FLAESCH</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Mon, 01 Aug 2022 14:52:58 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,703930,703930#msg-703930</guid>
            <title>Is there a way to get the code for the mySQL-Connector-C (3 replies)</title>
            <link>https://forums.mysql.com/read.php?168,703930,703930#msg-703930</link>
            <description><![CDATA[ Hi,<br />
Seems there is no possibility to download the code for the latest 8.0 version of the mySQL-Connector-C.<br />
<br />
I can copy the code from my Linux box and build it, but I don&#039;t want to play with the line ending..<br />
<br />
I would greatly appreciate any pointers on how to get the version of the Connector 8.0.25 (same as on my *nix box) for Windows and build it.<br />
<br />
As someone else pointed out - it is incompatible with the previous version  and so I can&#039;t use the same code on both OSes.<br />
<br />
Thank you.]]></description>
            <dc:creator>Igor Korot</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Tue, 12 Jul 2022 15:52:25 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,703412,703412#msg-703412</guid>
            <title>C API Connector for WIN32 missing. (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,703412,703412#msg-703412</link>
            <description><![CDATA[ Unfortunately in the standard installer there is not included the C API Connector 8.0 for Win32.<br />
Unfortunately the last C API Connector 6.1.11 has got incompatible to 8.0. since one of the last updates.<br />
So is there no possibility to get an up to date C-API connector for Win32 in the future?<br />
<br />
<br />
The last C API Connector 6.1.11 is no more able to connect to the latest 8.0 version, this happened somewhere between 8.0.22 and 8.0.26.<br />
<br />
Error message: &#039;SSL connection error: unknown error number&#039;]]></description>
            <dc:creator>Stefan Mühlbacher</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Tue, 19 Jul 2022 07:28:15 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,703182,703182#msg-703182</guid>
            <title>#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,703182,703182#msg-703182</link>
            <description><![CDATA[ Hello Team,<br />
I did run my script in MySQL Workbench 8.0.26 to create a very simple procedure using MySQL Common Table Expression (CTE) <br />
in my local database it is working fine. <br />
The issue is when I run the same script in the Hosting server database ( Database client version: libmysql - mysqlnd 7.4.27 ), I am getting the following issue:<br />
This is my script:<br />
CREATE PROCEDURE assets()<br />
BEGIN<br />
	WITH cte_assets AS ( SELECT * FROM assets )<br />
	SELECT id, assetnum, location FROM cte_assets;<br />
END;<br />
This is the issue :<br />
MySQL said: Documentation<br />
#1064-You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;cte_assets AS ( SELECT * FROM assets )<br />
		SELECT id, assetnum, location FROM cte_&#039; at line 3<br />
<br />
Can you please help on this issue?<br />
Thank you and have a great day]]></description>
            <dc:creator>Mike Kala</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Sat, 26 Feb 2022 17:18:47 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,703059,703059#msg-703059</guid>
            <title>libcrypto.so.10 linker error (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,703059,703059#msg-703059</link>
            <description><![CDATA[ while compiliing my program using mysql community library on centos 7, I got the following error, kindly help.<br />
----------------------------------<br />
/usr/bin/ld: /usr/lib64/libcrypto.so.10 symbol number 2855 references nonexistent SHT_SYMTAB_SHNDX section<br />
/usr/lib64/libcrypto.so.10: error adding symbols: No such file or directory<br />
-------------------------------------<br />
<br />
I done following things to remove the error<br />
1. I have downgrade mysql from 8.0.28 to 8.0.26<br />
2. I have checked presence of libcrypto.so.10 in /usr/lib64<br />
3. I have tried to downgrade openssl but not successful<br />
<br />
My present version of openssl is openssl-libs-1.0.2k-24.el7_9.x86_64.<br />
<br />
Thanks in advance.<br />
<br />
Anindya]]></description>
            <dc:creator>anindya roy</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Tue, 19 Jul 2022 07:31:21 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,697497,697497#msg-697497</guid>
            <title>Does libmysqlclient support openssl1.1? (3 replies)</title>
            <link>https://forums.mysql.com/read.php?168,697497,697497#msg-697497</link>
            <description><![CDATA[ If not, how can i do?]]></description>
            <dc:creator>hello okay</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Mon, 05 Jul 2021 12:08:37 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,696362,696362#msg-696362</guid>
            <title>Versioning with Connector/C and MySql (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,696362,696362#msg-696362</link>
            <description><![CDATA[ I&#039;m working on an application that is using connector-c-6.1.6. The database I&#039;m using is MySql version 5.7.21.<br />
<br />
I am debating upgrading to the latest MySql version - MySql Community Server 8.0.24, at the time of writing.<br />
<br />
Will I have to upgrade my code to use a more recent version of Connector/C or is the API still compatible? Having trouble finding this information in documentation.<br />
<br />
Thanks in advance.]]></description>
            <dc:creator>chris j</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Tue, 25 May 2021 17:21:17 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,696324,696324#msg-696324</guid>
            <title>How to distinguish the response of Lost connection to MySQL server? (5 replies)</title>
            <link>https://forums.mysql.com/read.php?168,696324,696324#msg-696324</link>
            <description><![CDATA[ If mysql connection doesn&#039;t interact with mysql long time, then using libmysql api will lead to Lost connection to MySQL server error?<br />
But if i set mysql_options with MYSQL_OPT_READ_TIMEOUT and execute a time consuming query, it will report the same Lost connection to MySQL server error.<br />
<br />
Then the question is how to distinguish these different cases?]]></description>
            <dc:creator>hello okay</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Fri, 07 May 2021 15:13:35 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,695964,695964#msg-695964</guid>
            <title>Using mysql C Api affects memory in my executing program (2 replies)</title>
            <link>https://forums.mysql.com/read.php?168,695964,695964#msg-695964</link>
            <description><![CDATA[ Hello, I wrote a Cgi program in C under Linux to read some data to save to a mysql database. Before inserting data in the proper table I show the read data in a table. I noticed something strange. When I display the read data in the table <br />
without connecting to mysql, using these instructions <br />
   /* Connect to database */<br />
 if (!mysql_real_connect(conn, server, user, password, database, 0, NULL, 0)) {<br />
      fprintf(stderr, &quot;%s\n&quot;, mysql_error(conn));<br />
      exit(1);<br />
        }<br />
the table is diplayed correctly. But if I connect to the database, the connection works correctly, but something strange happens in the table. The last cell displays a dirty value<br />
<br />
20 16 0bin&quot; id=&quot;82&quot;??l<br />
<br />
20 is the number of the row, 16 is nhe number of the column, 0 is its value, but bin&quot; id=&quot;82&quot;??l i do not know what it is]]></description>
            <dc:creator>Francesco Di Fusco</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Mon, 19 Apr 2021 07:13:04 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,695410,695410#msg-695410</guid>
            <title>How to convert date to string? (3 replies)</title>
            <link>https://forums.mysql.com/read.php?168,695410,695410#msg-695410</link>
            <description><![CDATA[ Hi,<br />
   It&#039;s my first time to use the connector 8. (I&#039;v installed the x64 MySQL, but there are some lib in 32bit, so I&#039;d build the exe in 32 bit by VS2015.  and I can&#039;t find the libmysql bin file (32bit) to use.  )<br />
   In last project (use x64 libmysql) ,it&#039;s easy to read and convert the DATE field from table.<br />
   Now work with connector, there is something differ from stand MySql &#039;s query.<br />
   Refer to the doc, the DATE value will be convert to number, but I don&#039;t konw what number it will be.<br />
   Is the number like &#039;20200909&#039; or just a timestamp?<br />
   I tried the follow function: ( col =3, DATE type )<br />
<br />
   mysqlx_get_uint(row, 3, &amp;ndate);  --&gt; this return the value: 	<br />
	ndate	14757395258967641292	unsigned __int64<br />
<br />
   Is this the senconds?  or ticks?  unlike the time function&#039;s result:<br />
				time_t now;<br />
				time(&amp;now);   --&gt;now	1615885732	__int64<br />
<br />
   How to convert the int value to date string?<br />
<br />
   Thanks<br />
<br />
   James]]></description>
            <dc:creator>James Leo</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Fri, 19 Mar 2021 08:54:56 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,694753,694753#msg-694753</guid>
            <title>MYSQL_FIELD -- How to know which kind of GEOMETRY? (1 reply)</title>
            <link>https://forums.mysql.com/read.php?168,694753,694753#msg-694753</link>
            <description><![CDATA[ After having executed a query and getting the fields from the result with `mysql_fetch_fields`, if a particular field is said to be a `MYSQL_TYPE_GEOMETRY`, how do we know what *kind* of geometry it is? If it&#039;s POINT type, for instance, there seems to be no way to know this from the query result&#039;s MYSQL_FIELD itself?]]></description>
            <dc:creator>Seth Willits</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Thu, 11 Feb 2021 09:29:56 +0000</pubDate>
        </item>
        <item>
            <guid>https://forums.mysql.com/read.php?168,694159,694159#msg-694159</guid>
            <title>libmysqlclient on Apple silicon (2 replies)</title>
            <link>https://forums.mysql.com/read.php?168,694159,694159#msg-694159</link>
            <description><![CDATA[ Could you compile the latest libmysqlclient for Apple silicon and publish it ?]]></description>
            <dc:creator>Firitia V</dc:creator>
            <category>Connector/C (libmysqlclient)</category>
            <pubDate>Fri, 15 Jan 2021 15:14:09 +0000</pubDate>
        </item>
    </channel>
</rss>
