473,386 Members | 1,715 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,386 software developers and data experts.

3.22.32 hangs on count().

I am having a strange issue with MySQL. I just installed it on my Zaurus
and loaded a few of my databases in it. All very small.

When I do a count withoout a where, it hangs. It does this on all my
databases I have loaded. Example below.

__________________________________________________ _____________________
mysql Ver 9.38 Distrib 3.22.32, for unknown-linux-gnu (armv4l)

Connection id: 8
Current database: survey
Current user: root@localhost
Server version 3.22.32-log
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /tmp/mysql.sock
Uptime: 40 min 2 sec

Threads: 5 Questions: 44 Slow queries: 0 Opens: 15 Flush tables: 1 Open tables: 8
--------------
mysql> select count(*) from master where per <> 20;
+----------+
| count(*) |
+----------+
| 2 |
+----------+
1 row in set (0.01 sec)

mysql> select count(*) from master;
(hangs here forever with ony 2 records in the master table)
---------------------------------------------------------

I don't have the compile enviroment so I can't upgrade to 4.1.

How can I debug this problem. I don't see anything out of the norm in the
error log.
Thanks
-Eddie

Jul 20 '05 #1
1 1873
Eddie wrote:
I don't have the compile enviroment so I can't upgrade to 4.1.
Can you upgrade to 3.23?

http://downloads.mysql.com/archives.php?p=mysql-3.23
How can I debug this problem. I don't see anything out of the norm in the
error log.


Does check table show any warnings or errors? ( Unlikely, since the
other select count(*) worked with you, but worth to check anyway. ):
check table master;

Does it work if you give the command in this way: (same as without
where, since 1 is always true):
select count(*) from master where 1;
Jul 20 '05 #2

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

Similar topics

1
by: Josh | last post by:
Hi. I am writing a script that downloads lots of zips from a usgs site. All is going well except that occasionally, in the midst of downloading a file, the script just hangs and i must either...
2
by: Ed Swartz | last post by:
I installed SP4 for Windows 2000. Prior to the upgrade my system was at SP3 and I was able to run ASP scripts from my browser just fine. For exmaple: ...
1
by: Randal Chapman | last post by:
Hi. I am returning a "distinct" list of nodes from an xmldocument using selectnodes. I get the list fine, and I can select individual nodes, but when I try to access the count of the list my...
0
by: Nathan | last post by:
This is a copy of a message at microsoft.public.dotnet.framework.clr: THE CODE: I'm using an HttpWebResponse object to send an HTTP POST to a Java server I have written and are running on the...
1
by: Tunga Torgal | last post by:
hi, I have the following code. It hangs out and waits infinitely on StreamReader.Read method. any ideas? thanks in advance... WebRequest myHttpWebRequest = WebRequest.Create(myUri); ...
1
by: AMD Desktop | last post by:
Hi, I have a problem and not sure what is going on here, may be the coding is not proper. This is a simple page with calendar events. Everything works fine until I click on View Week link. Then...
0
by: Karel Kral | last post by:
Hello, I have created simple COM service in .NET. COM is accessed from another not NET application by late binding call. And the problem: If I call NetComClass.Hello from another .NET code, all...
1
by: ratnakarp | last post by:
Hi, I'm new to httpwebrequest programming. I'm using httpwebrequest to pull the rss file with contenttype as "GET". it works fine. I get all the results and store all the values in the list. the...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.