ts-7000
[Top] [All Lists]

[ts-7000] Re: Need to include MySQL client in C program using Eclipse on

To:
Subject: [ts-7000] Re: Need to include MySQL client in C program using Eclipse on Windows
From: "John" <>
Date: Mon, 19 Apr 2010 16:24:58 -0000
Thank you Chris for your quick reply.

I have now have a successful compile, however, I now get the message "Can't 
connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' 
(2)". I'm now trying to figure out what this is telling me.

John


--- In  Chris Pratt <> wrote:
>
> The one you downloaded was compiled for the x86 family of processors, not
> the Cavium that's in the TS computers.  You either need to get the source
> and cross-compile it using the development tools, or find someone that has
> already done that and download it from them.
>  (*Chris*)
> 
> On Sat, Apr 17, 2010 at 2:01 PM, John <> wrote:
> 
> >
> >
> >
> > Hi,
> >
> > I'm new to Linux and Eclipse, so please forgive my question. I'm hoping
> > someone will be kind enough to give me a hand.
> >
> > I have been working on a program written in C for several months. Now I
> > need it to connect to a MySQL database on a Windows PC. I have spent several
> > days trying to find exactly how to do this. I have down loaded the MySQL
> > client Connector/C 6.0.2 and have set the include and lib paths. When
> > compiling I get an error the libmysqlclient.a is incompatible. Does the lib
> > need be compiled from source within Eclipse to be used with the
> > cross-compile tool?
> >
> > So my question is, what I need to do in Eclipse running on Windows to allow
> > me to cross compile a program written in C that includes the MySQL client?
> >
> > Thanks for your help,
> >
> > John
> >
> >  
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU