Query Error:No database selected
SQL:select * from categories where ID = 34