<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - MySQL Connector/C (libmysql)</title>
        <description>Forum for C and the MySQL Connector/C (libmysql).</description>
        <link>http://forums.mysql.com/list.php?168</link>
        <lastBuildDate>Tue, 21 May 2013 06:25:21 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?168,584696,584696#msg-584696</guid>
            <title>&quot;error while loading shared libraries: libmysqlclient.so.15:&quot; Huh? (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,584696,584696#msg-584696</link>
            <description><![CDATA[ I infrequently get the error &quot;error while loading shared libraries: libmysqlclient.so.15:&quot; when running a C program that queries a mySQL 5<br />
DB, calls a stored procedure and does a LOAD DATA INFILE. The code is run as<br />
a daily cron job on a CentOS 6.4 box and the error might not happen for days but once it occurs I have to re-compile the source code to get it working again.<br />
<br />
The strange thing is, I thought executables on Linux were stand-alone and didn't<br />
need to load any libraries on the fly in order to function.<br />
<br />
Here's the gcc command line I'm using to compile the code:<br />
<br />
gcc -o ImportData.out $(mysql_config --cflags) ImportData.c $(mysql_config --libs)<br />
<br />
The program compiles w/no errors and by verifying the mySQL 5 tables are created correctly and all the data imported into the tables appears to work correctly.<br />
<br />
Google didn't really turn up anything useful which is why I'm here now.]]></description>
            <dc:creator>Bill Phan</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Wed, 24 Apr 2013 04:40:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,583299,583299#msg-583299</guid>
            <title>Table 'xxx' doesn't exist (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,583299,583299#msg-583299</link>
            <description><![CDATA[ strange thing happens.<br />
<br />
have a look:<br />
<br />
login onto console<br />
<br />
database and table new created<br />
<br />
then <br />
==================================================================<br />
mysql&gt; insert into `miguel.errortext` (`name`) values ('machine stopped');<br />
Query OK, 1 row affected (0.03 sec)<br />
<br />
mysql&gt; select * from `miguel.errortext`<br />
    -&gt; ;<br />
+----+-----------------+<br />
| id | name            |<br />
+----+-----------------+<br />
|  1 | machine stopped |<br />
|  2 | machine error 0 |<br />
|  3 | machine error 1 |<br />
|  4 | machine error 2 |<br />
|  5 | machine error 3 |<br />
|  6 | machine error 4 |<br />
|  7 | machine error 5 |<br />
|  8 | machine error 6 |<br />
|  9 | machine error 7 |<br />
| 10 | machine error 8 |<br />
| 11 | machine error 9 |<br />
+----+-----------------+<br />
11 rows in set (0.00 sec)<br />
<br />
mysql&gt; SELECT * FROM miguel.errortext;<br />
ERROR 1146 (42S02): Table 'miguel.errortext' doesn't exist<br />
<br />
mysql&gt; show tables;<br />
+------------------+<br />
| Tables_in_miguel |<br />
+------------------+<br />
| miguel.errorlog  |<br />
| miguel.errortext |<br />
| miguel.operators |<br />
+------------------+<br />
3 rows in set (0.00 sec)<br />
<br />
===============================================================<br />
<br />
after the first insert I run a simple  c-programm <br />
it has a select on that table<br />
<br />
shows:<br />
<br />
07.03.2013 02:13:17, mysql connected<br />
SELECT * FROM miguel.errortext<br />
rows found : 1<br />
<br />
and it inserts the 10 records<br />
<br />
the  first select on console <br />
<br />
select * from `miguel.errortext`<br />
<br />
shows the correct result:<br />
<br />
after that I run the c program again and it failed<br />
<br />
07.03.2013 02:13:19, mysql connected<br />
07.03.2013 02:13:19, error in SELECT * FROM miguel.errortext<br />
<br />
running a select again on the console and surprise:    <br />
<br />
ERROR 1146 (42S02): Table 'miguel.errortext' doesn't exist<br />
<br />
but tables are there.<br />
what's happening there?<br />
<br />
I searched the forum and internet for that problem.<br />
mostly that seems to happen after some table copy, dump or so,<br />
but that's not in my case.<br />
I work on a ubuntu box <br />
<br />
mysql -?<br />
mysql  Ver 14.14 Distrib 5.5.29, for debian-linux-gnu (x86_64) using readline 6.2<br />
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.<br />
<br />
snip<br />
<br />
Variables (--variable-name=value)<br />
and boolean options {FALSE|TRUE}  Value (after reading options)<br />
--------------------------------- ----------------------------------------<br />
auto-rehash                       TRUE<br />
auto-vertical-output              FALSE<br />
character-sets-dir                (No default value)<br />
column-type-info                  FALSE<br />
comments                          FALSE<br />
compress                          FALSE<br />
debug-check                       FALSE<br />
debug-info                        FALSE<br />
database                          (No default value)<br />
default-character-set             auto<br />
delimiter                         ;<br />
enable-cleartext-plugin           FALSE<br />
vertical                          FALSE<br />
force                             FALSE<br />
named-commands                    FALSE<br />
ignore-spaces                     FALSE<br />
init-command                      (No default value)<br />
local-infile                      FALSE<br />
no-beep                           FALSE<br />
host                              (No default value)<br />
html                              FALSE<br />
xml                               FALSE<br />
line-numbers                      TRUE<br />
unbuffered                        FALSE<br />
column-names                      TRUE<br />
sigint-ignore                     FALSE<br />
port                              3306<br />
prompt                            mysql&gt; <br />
quick                             FALSE<br />
raw                               FALSE<br />
reconnect                         TRUE<br />
socket                            /var/run/mysqld/mysqld.sock<br />
ssl                               FALSE<br />
ssl-ca                            (No default value)<br />
ssl-capath                        (No default value)<br />
ssl-cert                          (No default value)<br />
ssl-cipher                        (No default value)<br />
ssl-key                           (No default value)<br />
ssl-verify-server-cert            FALSE<br />
table                             FALSE<br />
user                              (No default value)<br />
safe-updates                      FALSE<br />
i-am-a-dummy                      FALSE<br />
connect-timeout                   0<br />
max-allowed-packet                16777216<br />
net-buffer-length                 16384<br />
select-limit                      1000<br />
max-join-size                     1000000<br />
secure-auth                       FALSE<br />
show-warnings                     FALSE<br />
plugin-dir                        (No default value)<br />
default-auth                      (No default value)]]></description>
            <dc:creator>Juergen Gnoss</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Sun, 07 Apr 2013 08:05:08 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,582927,582927#msg-582927</guid>
            <title>Multithreading: mysql_ping() error. (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,582927,582927#msg-582927</link>
            <description><![CDATA[ I create connection pool with mysql option MYSQL_OPT_RECONNECT = 1  and use one uniq connection by one thread. But, my MySQL server is overload and  I have error 2013: &quot;Lost connection to MySQL server during query query&quot;  sometimes.<br />
<br />
So, I use mysql_ping() before each query execution (mysql_query) and sometimes I have SIGSEG error.<br />
<br />
Can I use mysql_ping() in the worker thread, if it use uniq connections ( the each thread use only one connection from connection pool)]]></description>
            <dc:creator>Alexandre Kalendarev</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Tue, 02 Apr 2013 13:40:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,580230,580230#msg-580230</guid>
            <title>Unable to load DLL on 2008 R2 if conn = mysql_init(NULL); (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,580230,580230#msg-580230</link>
            <description><![CDATA[ The full DLL will load and run on Win 7.<br />
<br />
The full DLL will not load on Server 2008 R2.<br />
<br />
If I remove all reference to MySql for Connector/C<br />
the DLL will load and run.<br />
<br />
If I only have:<br />
	conn = mysql_init(NULL);<br />
	mysql_close(conn);<br />
<br />
The DLL does not load (error 126).<br />
<br />
DLL was compiled with VS 2010 Express, both on Win 7 the server.]]></description>
            <dc:creator>Joseph Cameron</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Thu, 28 Feb 2013 14:41:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,578137,578137#msg-578137</guid>
            <title>Comments (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,578137,578137#msg-578137</link>
            <description><![CDATA[ How do I get comments within a function form a database dump into the database?<br />
<br />
mysql user -h host &lt; dump.txt<br />
<br />
dump.txt<br />
=============<br />
<br />
<br />
DROP FUNCTION IF EXISTS `foo`;<br />
DELIMITER $$<br />
<br />
CREATE DEFINER=`user`@`%` FUNCTION `foo`() RETURNS bigint(1)<br />
<br />
BEGIN<br />
    <br />
SET @var1       = &quot;TEST&quot;;<br />
#please keep this comment<br />
<br />
return 1;<br />
END$$<br />
<br />
DELIMITER ;]]></description>
            <dc:creator>Jens Ruena</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Tue, 29 Jan 2013 13:41:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,578117,578117#msg-578117</guid>
            <title>Stored procedure - Commands out of sync after mysql_free_result() (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,578117,578117#msg-578117</link>
            <description><![CDATA[ I have written the following code to call a stored procedure which returns a temporary table and stores a value in a variable:<br />
<br />
<br />
<br />
MYSQL *conn;<br />
MYSQL_RES *res;<br />
MYSQL_ROW row;<br />
<br />
void read_data()<br />
{<br />
int num_cols, j;<br />
    <br />
/* create the string for first statement */<br />
    strcpy(buff, &quot;CALL proc_read_user('&quot;);<br />
    concat(buff, date_start);<br />
    concat(buff, &quot;', '&quot;);<br />
    concat(buff, date_end);<br />
    concat(buff, &quot;', '&quot;);<br />
    concat(buff, user_id);<br />
    concat(buff, &quot;', '&quot;);<br />
    concat(buff, curr_time);<br />
    concat(buff, &quot;', @&quot;);<br />
    concat(buff, tot_time);<br />
    concat(buff, &quot;);&quot;);<br />
<br />
    if(mysql_query(conn, buff))<br />
    {<br />
        fprintf(fptr_errors, &quot;Error : Procedure not called : %s\n&quot;, mysql_error(conn));<br />
        exit(1);<br />
    }<br />
<br />
<br />
    if(!(res = mysql_store_result(conn)))<br />
    {<br />
        fprintf(fptr_errors, &quot;no result returned by procedure\n&quot;);<br />
        exit(1);<br />
    }<br />
<br />
    num_cols = mysql_num_fields(res);<br />
    while ((row = mysql_fetch_row(res)) != NULL)<br />
    {<br />
        fprintf(fptr_reads, &quot;%s&quot;, row[0]);<br />
        for(j=1;j&lt;num_cols;++j)<br />
        {<br />
            fprintf(fptr_reads, &quot;\t||\t%s&quot;, row[j]);<br />
        }<br />
        fprintf(fptr_reads, &quot;\n\n&quot;);<br />
    }<br />
<br />
    mysql_free_result(res);<br />
    res = mysql_store_result(conn);<br />
    mysql_free_result(res);<br />
<br />
    <br />
    /* Second statement */<br />
    strcpy(buff, &quot;SELECT @&quot;);<br />
    concat(buff, tot_time);<br />
    concat(buff, &quot;;&quot;);<br />
<br />
    if (mysql_query(conn, buff))<br />
    {<br />
        fprintf(fptr_errors, &quot;Error in reading the total time : %s\n&quot;, mysql_error(conn));<br />
        exit(1);<br />
    }<br />
    <br />
    if(!(res = mysql_use_result(conn)))<br />
    {<br />
        fprintf(fptr_errors, &quot;No result returned by select query\n&quot;);<br />
        exit(1);<br />
    }<br />
<br />
    while ((row = mysql_fetch_row(res)) != NULL)<br />
    {<br />
        //if(row[0]==NULL) cout&lt;&lt;sizeof(row)&lt;&lt;'\n';<br />
        cout&lt;&lt;row[0]&lt;&lt;'\n';<br />
        fprintf(fptr_reads, &quot;Total time : %s second(s)\n&quot;, row[0]);<br />
    }<br />
}<br />
<br />
<br />
------------------------------------------------------------------------<br />
<br />
<br />
The two MySQL statements that are executed are :<br />
<br />
CALL proc_read_user('2008-01-01', '2013-12-31', 'ashish', '23:59:59', @tot_time_01);<br />
<br />
SELECT @tot_time_01;<br />
<br />
<br />
The first statement is executed successfulyy and the temporary table is retuned and printed.<br />
However, after that when I execute the second statement, the error is igven:<br />
Commands out of sync; you can't run this command now<br />
<br />
<br />
I have used mysql_store_result() as well as mysql_free_result() functions before executing the second statement.<br />
Then why does this error occur? How can the second statement be executed correctly?]]></description>
            <dc:creator>Tushar Bindal</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Tue, 29 Jan 2013 05:52:36 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,578006,578006#msg-578006</guid>
            <title>Archive has no index; run ranlib to add one in Dev C++ (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,578006,578006#msg-578006</link>
            <description><![CDATA[ I converted mysqlclient.lib to mysqlclient.a using ar command <br />
ar rcs mysqlclient.a mysqlclient.lib<br />
<br />
now am keep getting that error Archive has no index; run ranlib to add one <br />
<br />
I run ranlib on mysqlclient.a but still getting the above no index error :( do not know how to fix this , so need help <br />
ranlib libmysqlclient.a<br />
<br />
am using dev c++ for my project]]></description>
            <dc:creator>zahid ullah</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Sun, 27 Jan 2013 07:27:25 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,576968,576968#msg-576968</guid>
            <title>Access Violation during Intialization. (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,576968,576968#msg-576968</link>
            <description><![CDATA[ I have been experimenting with the C API using C++Builder XE2, but when I call mysql_init, it generates an access error.  System configuration is:<br />
<br />
OS:  Windows 7 64bit<br />
MySQL server: 5.5.27 64bit<br />
libmysql.dll ver:  5.5.29 32 bit<br />
<br />
I am linking against a generated import lib using emb's implib, as Embarcadero's compilers use OMF library format as opposed to the COFF format used by VS.  Everything links fine, but when I run teh code, it generaates an access error. I have been able to trace the error to inside mysql_server_init, but I get lost in the assembly code from there. From what I can see, I believe it may be the call to init_embedded_server that is causing a problem.  The access violation actually occurs in a section of C++Builder's runtime library that is unloading modules, if this helps at all. The Basic code follows:<br />
<br />
<pre class="bbcode">
{
  MySQL= NULL;
  mysql_init(MySQL);
}</pre>
<br />
The libmysql.dll is already previously loaded during program startup.]]></description>
            <dc:creator>David Pratt</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Mon, 07 Jan 2013 13:29:57 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,575872,575872#msg-575872</guid>
            <title>libmysql.dll for version 5.1.66 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,575872,575872#msg-575872</link>
            <description><![CDATA[ I'm building an application in Lazarus on Windows XP (32-bit) with a MySQL database running on CentOS 6.3.  The DBMS version is 5.1.66 so I need libmysql.dll of the same version.  All I can find for the connectors is v6.0.2.  Where are the archives kept?  I went to the archives and I don't see connectors for C there, just Java, PHP, etc.<br />
<br />
Thanks in advance,<br />
<br />
Edward Hooper]]></description>
            <dc:creator>Edward Hooper</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Wed, 26 Dec 2012 18:00:22 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,575694,575694#msg-575694</guid>
            <title>Error compiling a simple C program (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,575694,575694#msg-575694</link>
            <description><![CDATA[ OS: Windows XP service pack 3<br />
MySQL Server v 5.5<br />
C Compiler MINGW - Minimalist GNU for windows<br />
<br />
I am trying to write a simple C program to access a mysql database as follows:<br />
#include &lt;my_global.h&gt;<br />
#include &lt;mysql.h&gt;<br />
<br />
int main(int argc, char **argv)<br />
{<br />
  printf(&quot;MySQL client version: %s\n&quot;, mysql_get_client_info());<br />
}<br />
I have copied the include files that came with mysql server 5.5 to the include directory on the MINGW compiler directory structure.<br />
<br />
When I try to compile I get the following error:<br />
<br />
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/io.h:20:0,<br />
                 from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/my_global.h:127,<br />
                 from loadpcode.c:6:<br />
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/sys/types.h:100:17: error: two or more data types in declaration specifiers<br />
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/sys/types.h:110:19: error: two or more data types in declaration specifiers<br />
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/sys/types.h:119:18: error: conflicting types for 'SSIZE_T'<br />
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winnt.h:192:0,<br />
                 from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windef.h:253,<br />
                 from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/windows.h:48,<br />
                 from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/winsock2.h:22,<br />
                 from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/my_global.h:125,<br />
                 from loadpcode.c:6:<br />
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/basetsd.h:111:18: note: previous declaration of 'SSIZE_T' was here<br />
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/my_global.h:1039:0,<br />
                 from loadpcode.c:6:<br />
c:\mingw\bin\../lib/gcc/mingw32/4.7.2/../../../../include/my_dbug.h:108:20: fatal error: crtdbg.h: No such file or directory<br />
compilation terminated.<br />
<br />
Am I using the correct include files? I have also tried the include files from Connector C 6.0.2 but get similar errors?<br />
<br />
What am I doing wrong?]]></description>
            <dc:creator>Joseph Earl</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Mon, 10 Dec 2012 05:50:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,575508,575508#msg-575508</guid>
            <title>Server to Clienst: Transmitting just ASCII for numericals? (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,575508,575508#msg-575508</link>
            <description><![CDATA[ Hi,<br />
<br />
While investigating performance problems in our legacy multi-client application, I found that our clients read all values (ints, doubles, etc.) from the MYSQL C-Connector in ASCII literals. That means all numbers are coded in text (the String “123” for the int 123). Most of our data consist of numerical values (ints and doubles). Our main performance problem are queries that take to long, so I am wondering:<br />
* Does MySQL transmit numerics as ASCII? So the server has to do the sprintf(), and the client has to do the sscanf()?<br />
* Is there a way to get binaries form the MySQL server? (we are using mysql_fetch_row()) <br />
* Is MySQL itself just storing text? (I don't think so)<br />
* Is the transmission of ASCII data not considered a common bottleneck?<br />
<br />
Thanks a lot]]></description>
            <dc:creator>Jens Ruena</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Fri, 07 Dec 2012 11:05:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,573356,573356#msg-573356</guid>
            <title>mysql_use_result vs. prepared statement (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,573356,573356#msg-573356</link>
            <description><![CDATA[ In order to minimize memory consumption on the client side, one can use mysql_query/mysql_real_query and mysql_use_result, or use a prepared statement with cursor.<br />
<br />
However the documentation (<a href="http://dev.mysql.com/doc/refman/5.6/en/mysql-use-result.html"  rel="nofollow">http://dev.mysql.com/doc/refman/5.6/en/mysql-use-result.html</a>) warns that:<br />
<blockquote class="bbcode"><div><small>Quote<br/></small><strong></strong><br/>On the other hand, you shouldn't use mysql_use_result() if you are doing a lot of processing for each row on the client side, or if the output is sent to a screen on which the user may type a ^S (stop scroll). This ties up the server and prevent other threads from updating any tables from which the data is being fetched.</div></blockquote>
<br />
Is this always true, in all versions of MySQL server ?<br />
I tried fetching ~1 million entries from a 5.5 server at a really slow pace (1 per second), and was still able to update the entries in the table while doing so. Maybe the table (or parts of it only ?) would be locked in certain conditions ?<br />
If so, do prepared statements with cursor prevent this kind of locking ? or does the locking (under similar conditions maybe) also apply with prepared statements ?]]></description>
            <dc:creator>Julien Coloos</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Fri, 09 Nov 2012 16:06:54 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,572494,572494#msg-572494</guid>
            <title>libmysqlclient.a with -fPIC flag (Position Independent Code) (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,572494,572494#msg-572494</link>
            <description><![CDATA[ I want to include few database connectors in my own wrapper, which will be distributed as shared library. In order to do this, I need a version of libmysqlclient which is compiled with -fPIC flag (otherwise I get an error:<br />
(client.c.o): relocation R_X86_64_32S against `client_errors' can not be used when making a shared object; recompile with -fPIC) . I didn't found such version on official site, so there is a question:<br />
Is there anywhere libmysqlclient.a compiled with -fPIC? If no, how can I compile it form sources with this flag?]]></description>
            <dc:creator>Evgeny Barabanov</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Tue, 30 Oct 2012 13:05:25 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,570704,570704#msg-570704</guid>
            <title>Checking the goodness of MYSQL* handle (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,570704,570704#msg-570704</link>
            <description><![CDATA[ Hello everybody,<br />
<br />
I've written a C client application with a function that tries to do some checks before performing any query to the server.<br />
<br />
In details, it uses mysql_ping(), eventually re-inits the connection with mysql_init() and mysql_real_connect() and then calls mysql_query().<br />
<br />
I want to add a check at the beginning of the function, about the MYSQL* handle which is used also as parameter by mysql_ping().<br />
<br />
In fact, if the handle is somehow unusable (overwritten / subturfuged / damaged / anything) I get a segfault when using it.<br />
I tried both this checks:<br />
<br />
===============<br />
MYSQL* mysql;<br />
[...]<br />
if (mysql!=NULL) mysql_ping(mysql);<br />
if (mysql) mysql_ping(mysql)<br />
===============<br />
<br />
but they do not work (segfault if handle is already damaged).<br />
<br />
The only mean I have to avoid the segfault is to reinitialize the handle with mysql_init(), just before the point I know the handle is already damaged.<br />
<br />
What I want to do is then the following:<br />
<br />
===============<br />
if (handle is not ok) handle=mysql_init()<br />
===============<br />
<br />
But I don't know how to check if the handle is ok without getting a segmentation fault.<br />
<br />
Thank you in advance for any suggestions!]]></description>
            <dc:creator>Giovanni Txxxxxx</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Thu, 11 Oct 2012 09:29:50 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,570386,570386#msg-570386</guid>
            <title>WinCE 5.0 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,570386,570386#msg-570386</link>
            <description><![CDATA[ Has anyone tried to build/compile (successfully) the C connector for a WinCE 5.0 target?<br />
<br />
I have our target board SDK that we use to compile custom applications for it - using custom compiler options for our specific hardware... <br />
<br />
Im thinking I can do  something similar for the MySQL-C connector since the source is provided...<br />
<br />
However, I cant seem to get anything happening on VS2005... Well not anything that builds, and certainly nothing that allows me to change the configuration to allow me to use our board SDK.<br />
<br />
CMake does generate solution files that I can open, but none of them build. Am I tackling this wrong? <br />
<br />
Should CMake be able to target my custom board (ARM derivative)?]]></description>
            <dc:creator>Juan A</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Mon, 08 Oct 2012 00:52:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,569796,569796#msg-569796</guid>
            <title>mysql_stmt_next_result for queries returning a single result set (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,569796,569796#msg-569796</link>
            <description><![CDATA[ I'm interested in using the mysql_stmt_next_result() API for retrieving results for a stored procedure call which may or may not return multiple result sets.  I am trying to determine whether I can use this same method for a plain old SQL prepared SELECT statement that returns only a single result set, or if it is only permitted for executing a CALL.<br />
<br />
In other words, if I pass an arbitrary statement into a function that prepares, binds, and executes that statement, does my function need to handle two separate execution paths for CALL and SELECT statements, or will a function that correctly handles CALL statements returning an arbitrary number of result sets also work with a normal SELECT?  Thanks.<br />
<br />
Tony]]></description>
            <dc:creator>Tony Izzo</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Fri, 28 Sep 2012 20:32:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,562698,562698#msg-562698</guid>
            <title>MYSQLConnector and XCODE4.4 - need i386 arch build please! (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,562698,562698#msg-562698</link>
            <description><![CDATA[ Hi, I have downloaded and installed the MYsql commiunity server on my<br />
MAc OS 10.7. While everything is great, I am having a little trouble<br />
using the connector for IOS development  (as  I am sure you already have<br />
heard). When trying to use the mysqlclient.dyslib.18, the sim crashes<br />
telling me its not in the i386 arch. Can you please let me know if you<br />
have a i386 compatible or will i need to recompile the library again. If<br />
I neeed to recompile the library again, which is the best package to<br />
download?]]></description>
            <dc:creator>Reggie Virmani</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Thu, 26 Jul 2012 01:46:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,559899,559899#msg-559899</guid>
            <title>version errror? (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,559899,559899#msg-559899</link>
            <description><![CDATA[ Hi,<br />
<br />
I downloaded mysql-connector-c-noinstall-6.0.2-win32.zip<br />
<br />
<a href="http://dev.mysql.com/downloads/mirror.php?id=377978"  rel="nofollow">http://dev.mysql.com/downloads/mirror.php?id=377978</a><br />
<br />
<br />
I checked that libmysql.dll is from 2009. I need latest version, but the file is from ¡2009!. <br />
<br />
Please, where I can find latest version?.<br />
<br />
<br />
Also, with this download, I called to mysql_get_client_info().<br />
<br />
It gives me out 6.0.0, but in web page says 6.0.2.<br />
<br />
What is wrong?.<br />
<br />
<br />
Thank you very much.]]></description>
            <dc:creator>Lucas Beltrán</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Mon, 09 Jul 2012 08:06:53 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,557425,557425#msg-557425</guid>
            <title>Unresolved symbols if using MySQL x64 @ Win7 (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,557425,557425#msg-557425</link>
            <description><![CDATA[ Hello friends<br />
<br />
I have a doubt... After spending hours to compile an application with libmysql C API and resulting always on &quot;unresolved symbol mysql_...&quot; I tried to uninstall MySQL x64 and installed MySQL x86 (32 bits) and magically my application compiled and linked.<br />
<br />
My question is if I have to do a different procedure or configuration to compile using the 64bit version?<br />
<br />
I have Windows 7 x64 with AMD64 processor and Visual C++ 2010 Express, so it would be nice to be able to use the 64bit version of MySQL...<br />
<br />
Thanks for your help!<br />
<br />
Miguel]]></description>
            <dc:creator>Miguel Cardenas</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Wed, 13 Jun 2012 04:35:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,557397,557397#msg-557397</guid>
            <title>access denied (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,557397,557397#msg-557397</link>
            <description><![CDATA[ Hi, I'm using the c api and trying to access data off my mysql server(which is remote). When I try to connect it says access denied for user. How do I fix this? Is it something wrong with my server or code? I'm getting an error code 1045. And the thing is I can edit the tables on a php script thats on the web server.<br />
<br />
#include &quot;stdafx.h&quot; <br />
#include &lt;iostream&gt; <br />
<br />
#include &lt;my_global.h&gt; <br />
#include &lt;mysql.h&gt; <br />
<br />
using namespace std; <br />
<br />
int main() <br />
{ <br />
MYSQL *conn; <br />
MYSQL_RES *result; <br />
MYSQL_ROW row; <br />
<br />
std::cout &lt;&lt; &quot;start&quot; &lt;&lt; std::endl; <br />
<br />
conn = mysql_init(NULL); <br />
<br />
if(conn == NULL) <br />
{ <br />
std::cout &lt;&lt; &quot;failed to initialize connection&quot; &lt;&lt; std::endl; <br />
} <br />
<br />
mysql_real_connect(conn, &quot;216.51.232.61&quot;, &quot;username&quot;, &quot;password&quot;, &quot;a1298_userAccounts&quot;, 0, &quot;2082&quot;, 0); <br />
cout &lt;&lt; mysql_error(conn) &lt;&lt; endl; <br />
<br />
int query_result = mysql_query(conn, &quot;SELECT * FROM UserAccounts&quot;); <br />
std::cout &lt;&lt; query_result &lt;&lt; std::endl; <br />
<br />
result = mysql_store_result(conn); <br />
<br />
while ((row = mysql_fetch_row(result))) <br />
{ <br />
std::cout &lt;&lt; row[2] &lt;&lt; std::endl; <br />
<br />
if(row[2] == &quot;shadyvillian&quot;) <br />
{ <br />
if(row[3] == &quot;a&quot;) <br />
{ <br />
std::cout &lt;&lt; &quot;login successful&quot; &lt;&lt; std::endl; <br />
} <br />
} <br />
<br />
} <br />
<br />
mysql_free_result(result); <br />
mysql_close(conn); <br />
<br />
}]]></description>
            <dc:creator>Aaron Kerti</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Wed, 13 Jun 2012 00:48:41 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,555638,555638#msg-555638</guid>
            <title>how to write a C application that implement loadblance/failover (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,555638,555638#msg-555638</link>
            <description><![CDATA[ hi all:<br />
<br />
now i'll write a C program .<br />
And it's need to implements loadblance/failover function.<br />
how to do?<br />
thanks!]]></description>
            <dc:creator>gu lilan</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Sat, 09 Jun 2012 08:56:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,543909,543909#msg-543909</guid>
            <title>connection timeout (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,543909,543909#msg-543909</link>
            <description><![CDATA[ Hello everybody,<br />
<br />
is there a possibility to set a real connection timeout?<br />
<br />
If the server machine is powered off or the IP-Adress doesn't belong<br />
to the MySQL-server, the connection-timeout is about 20 seconds.<br />
<br />
The MySQL-Option &quot;MYSQL_OPT_CONNECT_TIMEOUT&quot; is well set to 2 seconds,<br />
but this kind of timeout isn't to handle the real connection.<br />
<br />
Is there a possibility to avoid this problem with the libmysql?<br />
<br />
Big thanks]]></description>
            <dc:creator>Manuel Baerten</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Tue, 29 May 2012 08:05:47 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,538830,538830#msg-538830</guid>
            <title>what is 'thread specific variable' in MYSQL * and MYSQL_STMT * ? (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,538830,538830#msg-538830</link>
            <description><![CDATA[ Can I get any official note mentioning about above]]></description>
            <dc:creator>rupali gaikwad</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Tue, 22 May 2012 07:04:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,522277,522277#msg-522277</guid>
            <title>Can't build on Windows 7 w/VS2005 (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,522277,522277#msg-522277</link>
            <description><![CDATA[ I have some MySQL code in C that I have been developing on Ubuntu with GCC, and I was asked for a Windows version. I have a Windows maching running Win7 64-bit, with VS2005 installed (including the 64-bit tools).<br />
<br />
I installed the MySQL Connector/C 6.02 (the one for 64-bit VS2005), and followed the instructions for setting up a VS project for building code with it. I get a bunch of unresolved externals when I try to link (_mysql_close@4, _mysql_free_result@4, _mysql_fetch_row@4...).<br />
<br />
I searched this forum, and saw a few posts that said building your own library sometimes helps (even though there is a release specific to my compiler width and version). I downloaded the source, and when I tried to build, I get errors like:<br />
<br />
Cannot copy output executable '' to destination specified by COPY_FILE:<br />
<br />
It looks like it can't find cmTryCompileExec.exe. I am using CMake version 2.8.<br />
<br />
I found one post on this forum that suggested a way to get unresolved externals fixed, but it points to MySQL Server includes and libraries. I thought the whole reason for Connector/C is so you don't have to install MySQL Server. According to the docs, &quot;There is no need to compile or install the MySQL Server package if you only need the client library.&quot; I installed the server on my machine to try, but it didn't solve the problem. Does anyone have a solution?]]></description>
            <dc:creator>Doug Azzarito</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Wed, 28 Mar 2012 21:52:09 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,522080,522080#msg-522080</guid>
            <title>get previous versions of libmysql (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,522080,522080#msg-522080</link>
            <description><![CDATA[ hello<br />
<br />
Where can i find the previous versions of libmysql? We have a application  which needs 5.0.51a, but i cant find these files here: <a href="http://dev.mysql.com/downloads/connector/c/"  rel="nofollow">http://dev.mysql.com/downloads/connector/c/</a><br />
<br />
Thanks<br />
<br />
Olag]]></description>
            <dc:creator>Olag Ulga</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Wed, 28 Mar 2012 07:10:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,519856,519856#msg-519856</guid>
            <title>Problems while linking libmysqlclient_r.so (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,519856,519856#msg-519856</link>
            <description><![CDATA[ g++ -L/usr/local/lib -L/lib/64 -L/opt/mysql/mysql/lib -L../../dependencies/glog/lib -L../../dependencies/libevent/lib -L../../dependencies/json/jsoncpp/lib -ljson-gcc-3.4.3_libmt -levent -lglog -lz -lmysqlclient_r -lpthread -lnsl -lumem -lmysys -lmystrings -o ../../dbprocess/bin/dbprocess dbprocess.o sessionlookupcsidrequest.o sessionlookupipv4request.o ../dbframework/connectionpool.o ../dbframework/connectionproxy.o ../dbframework/dbconnection.o  ../framework/rpcmethod.o ../framework/rpcmethoddispatcher.o ../framework/rpcmethodfactory.o ../framework/jsonmethod.o ../framework/libeventmethoddispatcher.o ../framework/tobject.o ../framework/acceptor.o ../framework/configuefile.o ../framework/connmethoddata.o<br />
Undefined                       first referenced<br />
 symbol                             in file<br />
mysql_error                         ../dbframework/dbconnection.o<br />
mysql_close                         ../dbframework/dbconnection.o<br />
mysql_stmt_store_result             sessionlookupcsidrequest.o<br />
mysql_stmt_close                    ../dbframework/dbconnection.o<br />
mysql_stmt_fetch                    sessionlookupcsidrequest.o<br />
mysql_stmt_error                    sessionlookupcsidrequest.o<br />
mysql_options                       ../dbframework/dbconnection.o<br />
mysql_stmt_free_result              sessionlookupcsidrequest.o<br />
mysql_stmt_bind_result              sessionlookupcsidrequest.o<br />
mysql_stmt_num_rows                 sessionlookupcsidrequest.o<br />
mysql_stmt_prepare                  ../dbframework/dbconnection.o<br />
mysql_ping                          ../dbframework/dbconnection.o<br />
mysql_init                          ../dbframework/dbconnection.o<br />
mysql_stmt_bind_param               sessionlookupcsidrequest.o<br />
mysql_real_connect                  ../dbframework/dbconnection.o<br />
mysql_stmt_execute                  sessionlookupcsidrequest.o<br />
mysql_stmt_init                     ../dbframework/dbconnection.o<br />
ld: fatal: Symbol referencing errors. No output written to ../../dbprocess/bin/dbprocess<br />
collect2: ld returned 1 exit status<br />
<br />
<br />
<br />
also tried ldd /opt/mysql/mysql/lib/libmysqlclient_r.so<br />
and checked all dependencies are covered]]></description>
            <dc:creator>rupali gaikwad</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Tue, 22 May 2012 07:25:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,519852,519852#msg-519852</guid>
            <title>Can prepared statement created in thread1 can be used in thread2? (2 replies)</title>
            <link>http://forums.mysql.com/read.php?168,519852,519852#msg-519852</link>
            <description><![CDATA[ If we create prepared statement on one connection in thread1 and want to share it across thread2. is it possible? what problems I can get in case?]]></description>
            <dc:creator>rupali gaikwad</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Wed, 16 May 2012 09:35:55 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,519322,519322#msg-519322</guid>
            <title>mysql.h not found... why not? [C] [MacOSX] (no replies)</title>
            <link>http://forums.mysql.com/read.php?168,519322,519322#msg-519322</link>
            <description><![CDATA[ Hello,<br />
<br />
I'm attempting to connect to my MySQL database using a C program, but it isn't making it past the #include &lt;mysql.h&gt; line because it fails the compile when it can't find the header. I'm not sure why it can't find the header, I have it in the same directory as all the other headers (i.e. stdlib.h or stdio.h), which is /usr/include. I put everything from the C Connector into the include, lib, and bin folders within the usr directory.<br />
<br />
Can anybody shed some light on this? I'm stuck.<br />
<br />
I'm using Mac OSX Lion and xCode.<br />
<br />
Here is my program:<br />
<br />
#include&lt;stdio.h&gt;<br />
#include&lt;mysql.h&gt;<br />
#include&lt;stdlib.h&gt;<br />
<br />
int main()<br />
{<br />
    MYSQL *conn;<br />
    //MYSQL_RES *res;<br />
    MYSQL_ROW row;<br />
    <br />
    char *server =&quot;localhost&quot;;<br />
    char *user = &quot;lynseysc&quot;;<br />
    char *password = &quot;&quot;;<br />
    char *database = &quot;lynseysc_misc&quot;;<br />
    <br />
    conn = mysql_init(NULL);<br />
    <br />
    if(mysql_real_connection(conn, server, user, password, database, 0, NULL, 0))<br />
    {<br />
        printf(&quot;Connected successfully!&quot;);<br />
    }<br />
    else<br />
    {<br />
        printf(&quot;Error connecting.&quot;);<br />
    }<br />
    <br />
    return 0;<br />
}]]></description>
            <dc:creator>Lynsey Schroeder</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Fri, 09 Mar 2012 17:27:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,517818,517818#msg-517818</guid>
            <title>Mysql c-programming on windows, mingw (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,517818,517818#msg-517818</link>
            <description><![CDATA[ Hello,<br />
I am very new to Mysql programming so I made just few probes on Linux and I like it. Now, I would like to compile my programs on windows too.<br />
For this I uses Codeblocks 10.05 IDE with GCC/MinGW compiler 4.6.1.<br />
Wanted version of Mysql is 6.4.7 32 bit which was installed successfuly. With them I installed gui-tools and MySQL Connector C 6.0.2, all 32 bit versions.<br />
<br />
After heavy trying to get all those to work on windows7/64 bit machine I find several posts about how to prepare libs to use it with minGW, like... <br />
<br />
<a href="http://dev.mysql.com/doc/refman/5.0/en/building-clients.html"  rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/building-clients.html</a><br />
<a href="http://forums.mysql.com/read.php?167,295483,297733"  rel="nofollow">http://forums.mysql.com/read.php?167,295483,297733</a><br />
<br />
I pexports libmysql.dll &gt; libmysql.def, dlltool -k --input-def libmysql.def --dllname libmysql.dll --output-lib libmysql.a and just everything described with care that all my programs are 32 bit versions.<br />
<br />
But I can't compile. Several errors appears:<br />
||=== w_mysqlgui, Debug ===|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\config-win.h|24|warning: &quot;_WIN32_WINNT&quot; redefined [enabled by default]|<br />
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.6.1\..\..\..\..\include\windef.h|20|note: this is the location of the previous definition|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\config-win.h|111|warning: &quot;S_IRWXU&quot; redefined [enabled by default]|<br />
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.6.1\..\..\..\..\include\sys\stat.h|63|note: this is the location of the previous definition|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\config-win.h|114|error: conflicting types for 'mode_t'|<br />
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.6.1\..\..\..\..\include\sys\types.h|99|note: previous declaration of 'mode_t' was here|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\config-win.h|177|error: conflicting types for 'ssize_t'|<br />
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.6.1\..\..\..\..\include\sys\types.h|118|note: previous declaration of 'ssize_t' was here|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\config-win.h|235|warning: &quot;finite&quot; redefined [enabled by default]|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\config-win.h|193|note: this is the location of the previous definition|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\my_global.h|580|warning: &quot;my_reinterpret_cast&quot; redefined [enabled by default]|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\config-win.h|339|note: this is the location of the previous definition|<br />
C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\include\my_dbug.h|98|fatal error: crtdbg.h: No such file or directory|<br />
||=== Build finished: 9 errors, 4 warnings ===|<br />
<br />
What do I do wrong?<br />
Any help to start programming Mysql on windows are welcome.]]></description>
            <dc:creator>Leave Blank</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Sat, 10 Mar 2012 14:54:20 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?168,513015,513015#msg-513015</guid>
            <title>libmysql won't connect to localhost but ODBC will (1 reply)</title>
            <link>http://forums.mysql.com/read.php?168,513015,513015#msg-513015</link>
            <description><![CDATA[ I'm pulling my hair out on this one.  I've got a simple test app written two ways.  One using the ODBC connector (v5.1.8) and the other with libmysql (v6.0.2).<br />
<br />
The test app just tries to connect to the database and reports success/failure and then exits.  When I'm running on Win7 Pro 64bit, the ODBC version can connect to the mysql server running on localhost but the libmysql one cannot.  Both can connect to remote mysql servers (both Linux &amp; Win7), it is just localhost that's giving me fits.<br />
<br />
Mysqld is running on the Win7 machine, ODBC can connect to it.  I can connect to it remotely from the Linux box so port 3306 is open in the windows firewall.  I can connect to it via the windows command line.<br />
<br />
Any thoughts on why libmysql can connect just fine to a remote machine but not to localhost?<br />
<br />
Thanks,<br />
    Rene]]></description>
            <dc:creator>Rene Churchill</dc:creator>
            <category>MySQL Connector/C (libmysql)</category>
            <pubDate>Fri, 03 Feb 2012 08:55:34 +0000</pubDate>
        </item>
    </channel>
</rss>
