5 messages in com.mysql.lists.plusplusBroken code: mysql++ not seeing my t...
FromSent OnAttachments
Jason Barnes17 May 2004 15:17 
Sinisa Milivojevic18 May 2004 10:18 
Jason Barnes18 May 2004 15:57 
Sinisa Milivojevic21 May 2004 06:36 
Jason Barnes28 May 2004 15:48 
Subject:Broken code: mysql++ not seeing my tables
From:Jason Barnes (jbar@c3po.barnesos.net)
Date:05/17/2004 03:17:38 PM
List:com.mysql.lists.plusplus

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,