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