Did you try starting with clean account/character tables ?
you would have to clear out
account
character_
character_backup
faction_values
inventory
player_corpses
player_corpses_backup
sharedbank
Drop the tables , then re-make them again -
you can find the schemas to create at
http://www.projecteq.net/sql/
you could backup those tables, incase that's not the problem - then you'll have them back.