Add missing  reference
Make sure we grand privelages on all table sin database
Switch to bind_result and fetch