473,666 Members | 2,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1900
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
3611
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 ctrl-break it (running from command line) or, if I wait about 20 minutes after it hangs, even that won't allow me to close it. Either way, I must then restart the program and have it pick up where it left off. I don't know much about python or...
2
2385
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: http://127.0.0.1/Experiments/ASP/EXP_ASP_TypeName.asp Post-Upgrade the browser hangs forever with this in the status bar:
1
2524
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 computer just hangs. Also, if I try to iterate the list using foreach the first time works, and then the second try hangs. I don't have more than about 200 rows in the xmldocument. Anyone know what's going on? XPath expression and code below:
0
2912
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 same machine (for dev and testing). Here is the C# code snippet: 1 string clientAddr = "http://127.0.0.1:22225/"; 2 try 3 { 4 webreq = (HttpWebRequest)WebRequest.Create( clientAddr );
1
1758
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); myResponse = (HttpWebResponse)myHttpWebRequest.GetResponse();
1
1507
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 page hangs. Clicking on a day or Next Month or Previous Month work just fine. Here is the code: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0
2408
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 works fine. But when calling from COM, the program hangs at line nodeList = root.SelectNodes("/bookstore/book"). CPU is utilized 100%. Briefly: XmlDocument.SelectNodes call hangs EVERY TIME when selected nodes count is greater than 0. I have...
1
4702
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 list has a url (desclink) property too. i do httpwebrequest again for these url's with contenttype as "POST". some how i dont understand the problem, but my page hangs and doesnt retreive any value. i'm pasting the code below, any help would be...
9
3938
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 - I have read every post out there and spent hours trying to figure out the problem with no success whatsoever - I have constrained the problem to one form however, and I think it's hiding somewhere in my code associated with this form, which is...
0
8443
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8639
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7385
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6192
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4366
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1772
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.