Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Im Nubie in mysql, I use that only for PHP.

to the point, I try to upgrade myphpadmin 3.5.8.1, after I that, I cant accses my database and have error like This:

#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 'WHERE db_name = 'happy2'  AND table_name = 'foto'  ORDER BY version DESC' at line 1

My Other ALL DB have error like that.

Anyone can help me?

Im very Appreciated for your answer.

share|improve this question
1  
Ok.. Can you post complete MySQl query? You can refer a similar question on: goo.gl/7ch9L –  sam May 2 '13 at 10:30
    
@user2045846 this my query: SELECT tracking_active FROM.WHERE db_name = 'happy2' AND table_name = 'listingfee' ORDER BY version DESC , Its no mistake with my OLD phpmyadmin, but after upgrade, the Error show after I Click on any table –  Cromastone May 3 '13 at 0:25
    
could you please check this: FROM.WHERE in the query. –  Sathish D May 3 '13 at 10:28

1 Answer 1

I had this problem as well, when downgrading phpMyAdmin. When I deleted my cookies, the problem went away.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.