Thread: embedded MySQL .exe incompatibility ?

  1. #1
    Registered User trekker's Avatar
    Join Date
    Mar 2002

    embedded MySQL .exe incompatibility ?

    i've finished a small client program to handle
    a MySQL db on a remote server.
    The cmd line app works fine with the db on localhost
    and with the exactly same db on the remote host
    through a modem connection with the Internet.

    The problem is that when i execute it on Win 2000 box
    i manage to connect to the db server but all functions
    that issue a SQL query return an error saying that i have no
    SELECT privilege which is certainly not the case.

    Could it be the <winsock.h> header responsible for not being backwards compatitible ?

    The .exe is accompanied with "libmySQL.dll"
    compiled with VC++ 6.0 on Win XP
    MySQL API used from MySQL distribution v 4.0.12
    all code is written in std C++
    the remote server is a Linux box

    It's really outrageous and funny for a simple cmd line
    app to have minimum requirements Win XP!
    Any suggestions?

    many thanks for tolerating me
    so far...
    to boldy code where...

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    It doesn't sound like a "minimum requirement" problem, rather, it's a permissions issue. Just like what it's telling you. It's sounds like it's basicly saying you don't have administrative rights with the user you are signed on. Sign on as an admin and your problem will likely be solved.

    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MySQL libraries
    By csonx_p in forum C++ Programming
    Replies: 6
    Last Post: 10-02-2008, 02:23 AM
  2. About C++ and MySQL or oether free database
    By xxxrugby in forum C++ Programming
    Replies: 18
    Last Post: 12-30-2005, 06:28 AM
  3. Get data from mysql and use in a system.
    By smaakage in forum Tech Board
    Replies: 3
    Last Post: 10-04-2005, 12:03 PM
  4. Get data from mysql and use in a system.
    By smaakage in forum C++ Programming
    Replies: 5
    Last Post: 10-02-2005, 01:25 PM
  5. MySQL C API or ODBC?
    By serfurj in forum C Programming
    Replies: 3
    Last Post: 02-01-2005, 07:32 PM