|
|
Choosing A Webhost: |
Re: Broken code: mysql++ not seeing my tables: msg#00053db.mysql.c++
> 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> |
|---|---|---|
| Previous by Date: | Re: populating the result object - 2, Sinisa Milivojevic |
|---|---|
| Next by Date: | i have a question, 유 李쏀샇 |
| Previous by Thread: | Re: Broken code: mysql++ not seeing my tables, Sinisa Milivojevic |
| Next by Thread: | Re: Broken code: mysql++ not seeing my tables, Sinisa Milivojevic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |