List:MySQL++« Previous MessageNext Message »
From:Sinisa Milivojevic Date:May 18 2004 7:18pm
Subject:Re: Broken code: mysql++ not seeing my tables
View as plain text  
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.

-- 

Sincerely,

-- 
For technical support contracts, go to https://order.mysql.com/?ref=msmi
    __  ___     ___ ____  __
   /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <sinisa@stripped>
  / /|_/ / // /\ \/ /_/ / /__   MySQL AB
/_/  /_/\_, /___/\___\_\___/   Full time Developer and Support Coordinator
        <___/   www.mysql.com   Larnaca, Cyprus

Thread
Broken code: mysql++ not seeing my tablesJason Barnes17 May
  • Re: Broken code: mysql++ not seeing my tablesSinisa Milivojevic18 May
    • Re: Broken code: mysql++ not seeing my tablesJason Barnes18 May
      • Re: Broken code: mysql++ not seeing my tablesSinisa Milivojevic21 May
        • Re: Broken code: mysql++ not seeing my tablesJason Barnes28 May