Thanks again for your reply Chris.
You were correct. It was necessary for me to update the /etc/mysql/my.cnf file
with my servers host, user name and password information. Once I did that, I
have been able to connect just fine.
Thanks again.
John
--- In Chris Pratt <> wrote:
>
> I've never tried to do what you're doing, but the fact that the error
> message indicates that it thinks it's trying to connect to a "local" MySQL
> server seems significant. It could be that it's not getting your
> configuration parameters, so it's assuming it should connect to a local
> server or there could be some mis-configuration of the user on the MySQL
> server side that's causing it to fail. One idea might be to try to get this
> working in a debian VM using x86 stuff before you try to tackle the cross
> compiled version. HTH.
> (*Chris*)
>
> On Mon, Apr 19, 2010 at 9:24 AM, John <> wrote:
>
> >
> >
> > 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 <ts-7000%40yahoogroups.com>, Chris Pratt
> > <thechrispratt@> 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 <jemccloud999@> 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/
|