473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

ODBC 3.51 + ADO + MySQL Solaris server -> Unwanted Select * from..

JB
Hey ppl,

I'm experiancing a very weird problem with my current Win32(win2k/XP)
application.

I'm using:

* Delphi 7
* ADO
* mySQL ODBC 3.51 drivers
* connecting to a Solaris server with MySQL 3.23.36
* Table type MyISAM, Dynamic row format

When I perform the following basic query:

select count(*)
from table
where (field=value)

the following is communicated between client and database server
(sniffed with ethereal):

C->S

select count(*)
from table
where (field=value)

S->C

result

C->S

Select * from table

S->C

result

This ofcourse is fully unwanted (with 30.000 records and 20 fields in
the table)! When performing the query the following way:

select count(*)
from `table`
where (field=value)

the second unasked query (select * from table) is not performed.

WHY??? My Quess it is something in the ODBC drivers, since the client is
sending the request for the second query, however, when connecting to a
mysql (4) NT server this behavour is not seen.

I've now updated all my queries to use the '`' with table names,
however, i'm sometimes still experiancing this weird behaviour, any
clues would be very very very welcome. Since this screws up my
application pretty badly.

ThePriest
Jul 20 '05 #1
0 1451

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Hal Halloway | last post by:
can mysql work in Windows but not Solaris? Is there any reason you can see why the fulltext php/mysql code below works OK on my win2k php4.3.6. mysql 4.1.3 pc but does *not* work when put on a...
1
by: Yong Wang | last post by:
Hi, All: We have a network management system written in C++, MysQL, and Hp SNMP. It works in Solaris command line. When I wrote a similar python codes which call compiled C++ and mysql codes in...
4
by: Audrius | last post by:
Hello, I'm not sure if it is right group for this question, but I hope that I'll get help here... I'm using MSDE to store data for my application. And I'm having such problem. I'm creating a...
2
by: David | last post by:
Hi, I created an MS Access 2000 front end a long time ago. We use it every day and everything works great. This MS Access DB is held in a folder on our Cobalt Qube server. On this server we also...
2
by: Beda Christoph Hammerschmidt | last post by:
MySQL, Access, ODBC, Replication Hello, i have a central mysql database that is accesed by multiple clients running MS Access with ODBC. This works fine if Access has a permanent connection...
2
by: xiaotom | last post by:
I want my software to be independant of operation system and databases. That's why I want to use odbc, and don't want to use MFC. Here I have some questions to ask: 1. On unix (like sun...
4
by: Bob Sanderson | last post by:
I am trying to set up an ODBC DSN to our company MySQL database so that I can use a MS Access front end. I am using the MySQL ODBC 3.51 driver. The database is running off of Apache on our Windows...
1
by: shan_rish | last post by:
Hi Group, I am new to MySql. I installed Solaris 10 on a Pentium machine. Then i came to know that MySql comes bundled with Solaris 10. So i installed MySql which came with the Solaris 10. Then i...
1
by: Carlos Pena | last post by:
I have MySQL server running fine on Linux Server. I need to connect Windows workstations to the MySQL server. I installed MySQL ODBC 3.51.14 driver. When i try to connect the ODBC allways returns...
3
by: Suresh P | last post by:
Hi All, I tried to access the mysql database in ODBC using ip address and username/password. It returns, "cannot connect to MySQL server on IP ADDRESS(10060)". This could be related to Firewall...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.