title: 1615 Prepared statement needs to be re-prepared in codeigniter
body: <p>I was using prepare statement inside mysql stored procedure in codeIgniter  3.1.7framework. Everything works fine when I was working in localhost But when the website was hosted, I got this error "Prepared statement needs to be re-prepared" I checked for solution in too many websites and checked codeigniter , mysql documentation. But still I can't solve it. Almost everyone mentioned to increase "table_definition_cache" in sql. But I tried and still I was getting the same error. Expecting some solution from experts. Thanks in advance.</p>