Database error: Can't Log In

Anyone ever get this? My site is working fine, just can’t log in to the back end. Here’s what I get.:



Database 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 ‘A’’ at line 1

Invalid query: SELECT cscart_state_descriptions.state FROM cscart_states LEFT JOIN cscart_state_descriptions ON cscart_state_descriptions.state_id=cscart_states.state_id AND cscart_state_descriptions.lang_code=‘EN’ WHERE cscart_states.country_code=‘YE’ AND cscart_states.code=‘SANA’A’



looks like you’ve got your admin account banned / sql database have been hacked or just rotted.



Best bet is to login using phpmyadmin, select your database, search for your username/email and changing your email address to something different then attempting to ‘forgot your password’