No database selected
select * from ***_ecms_article where id='1240' limit 1