MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 14th, 2004, 03:11 PM
edacsac edacsac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 300 edacsac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 5 h 2 m 4 sec
Reputation Power: 10
MYSQL/PhpMyAdmin problem

Hello all,

I'm having this problem with my databases. When I try to edit a row in phpmyadmin, it will give me a query error saying unclosed quote or something, and looking at the query I see that it is incomplete. Part of it will be just chopped off. Sometimes it will give me a query error of unknown column, and I can plainly see that it chopped the query right in the middle of the offending column name.

I've fixed this on another table in the past by giving the table a different name and rebuilding the table, but now its hitting more important databases. My experience leads me to believe that its a hard drive problem, but countless scandisks, and hd tests all come back ok.

Just want to see if anyone else can confirm a possible hardware issue, or if there is something else going on that might look like a hardware issue but isn't.

Here is the actual message when clicking the edit button for a row in MyPhpAdmin:

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unclosed quote @ 812
STR: `
SQL: SELECT * FROM `blah` WHERE `blah2` = '46474' AND `blah3` = '16:38' AND `blah4` = '2004-04-13' AND `blah5` = 'kjhgkjhg' AND `blah6` LIKE 0x506c6561736520726561737369676e20 AND `blah7` = '33775' AND `time_per_entr <- This should actually be time_per_entry

SQL-query :

SELECT * FROM `blah` WHERE `blah2` = '46474' AND `blah3` = '16:38' AND `blah4` = '2004-04-13' AND `blah5` = 'kjhgkjhg' AND `blah6` LIKE 0x506c6561736520726561737369676e20 AND `blah7` = '33775' AND `time_per_entr <- This should actually be time_per_entry

MySQL said:


Unknown column 'time_per_entr' in 'where clause'


Thanks for any input!

Last edited by edacsac : April 14th, 2004 at 03:16 PM.

Reply With Quote
  #2  
Old April 18th, 2004, 08:04 PM
edacsac edacsac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 300 edacsac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 5 h 2 m 4 sec
Reputation Power: 10
Corruption

Ok, I can't believe out of all the people out there no one has used php/mysql in a proffesional environment, or has had any corruption type problems. Someone has got to know something, or everyone is a newbie on this forum.

I'm definatly having corruption type problems, such as column names will magically have a space in front of it all of a suddden, or a query comes up empty even though it comes back successful.

Please, if anyone has dealt with any corrption issues with mysql, please respond.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > MYSQL/PhpMyAdmin problem

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap