Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Broken code: mysql++ not seeing my tables: msg#00053

db.mysql.c++

Subject: Re: Broken code: mysql++ not seeing my tables

> Jason Barnes wrote:
> > Hi! I used mysql++ to write a web application to display a
> > particular database. It worked great.
> > However, when I upgraded my underlying system from FreeBSD
> > 4-STABLE to FreeBSD 5.2.1 and rebuilt the MySQL client, server, and
> > mysql++, and recompiled my code, it no longer works.
> > Here's the problem: when I make a query, "select * from
> > planettable", I get the error, " Error: Query was empty ". When I access
> > this table from mysql on the command line, though, it works fine, as it
> > does when I use the PERL mysql interface. Furthermore, selecting from
> > misspelled and non-existant tables gives the same result. For some
> > reason, mysql++ must not be seeing the tables, or my database, properly, I
> > guess.
> > If anyone has any insight as to what might be wrong, or what I
> > might be able to try to fix the problem, I would be very thankful for any
> > help you could provide. Thanks for your time everyone,
> >
> > - Jason Barnes
> >
>
>
> This looks most likely like a mismatch between include files and library.
>
> Rebuild once more our C API and mysql++ but make sure that includes and
> libs come from 100 % the same version.

Okay, I just rebuilt the mysql server, client, and mysql++ to
versions:

mysql-server-4.0.18_1
mysql-client-4.0.18_1
mysql++-1.7.9_2

However, unfortunately the problem is unchanged. The connection
works fine, but no tables seem to be found, based on the fact that a
select * from each of them and those that I know don't exist all come up
"Error: Query was empty".
Thank you so much for your help on this, I apreciate any further
clues that might occur to anyone. Thanks,

- J

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation