| Index
» Projekty
» phpMyEdit
» Fórum
» MySQL error 1064 |
 |
spols
Založený: 07.07.2004
Príspevky: 2
Zaslal: 2004-07-07 17:25
Návrat hore
Odpovedať s citátom
|
I get this error too. I have checked all the usual stuff, ie. retention of correct upper and lower case in filenames...
I just go to make a change to a row in a table, and I get this. I have no spaces in any fieldnames, spaces in record data or anything like that. I am using a numeric unique key called 'id'. The user I connect with has full rights and can do anything in phpMyAdmin. All files have 644 mods(normal attributes).
I can enum the contents of a table and go to edit a row, but committing the change(Save or Apply) fails whether I enter data or not.
Any ideas, anyone? (Errors below - I always get them in twos like this :/ )
MySQL error 1064
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage,complete,blurb FROM words WHERE (id=10)' at line 1
--------------------------------------------------------------------------------
MySQL error 1064
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage='sdffff',complete='sdfsss',blurb='sdfddd' WHERE (id=10)'
|
spols
Založený: 07.07.2004
Príspevky: 2
Zaslal: 2004-07-08 14:41
Návrat hore
Odpovedať s citátom
|
I fixed my error.....feeling like a little bit of a clown...
I had a field named 'Usage' which happens to be a reserved word(not in PHP) in MySQL. 2 other MySQL/PHP-related scripts handle it fine, but phpMyEdit probably did not jam enough quotes in to get it to work. Either way, field is now called 'Used' and all is right with the world again.
</manic behavior>
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|