Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2001
Posts: 77
JJS
Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
For the third time in the last three weeks, Threads has generated the following MYSQL errors which usuall occur in conjunction:

Unable to save results LNO 97 mysql.inc.php

and

Supplied agrument not a valid response LNO 121 mysql.inc.php


To correct it I do the following:

REPAIR TABLE w3t_Posts
REPAIR TABLE w3t_Messages
REPAIR TABLE w3t_Favorites

Trying to run the first command results in a timeout error. The other two seem to correct things but only temporarily. Any suggestions as to how I can keep this problem from re-occurring?

MySQL is pretty much Greek to me so the more specific you can be with your responses the more helpful it will be.

Thanks.


Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Do you have access to run myisamchk?

Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
If your getting a timeout error while running that command from the ubbt admin sql bix, then you either need to increase the timeout in the config file, or better yet, run it from the command line. If your posts table is big, and most are, the repair will take way longer than 30 seconds. This should work if you got telnet access and permissions in the /mysql/data/YOURDATABASE directory where the table is located.

Joined: May 2001
Posts: 77
JJS
Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 77
Dave:

I ran the myisamchk -r * utility and when I went to log back on the Threads it returned a ton of sql errors. So I then went to the command line and ran the "repair table" command and that seemed to clear things up---for now at least.

Last edited by JJS; 11/07/2002 4:20 AM.
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Hmmm ...

Did you run myisamchk with the check options first to see if there were any errors? Also, note that the myisamchk documentation states that mysqld must not be running at the same time.

But if repair table worked, then maybe that's adequate.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)