CodeIgniter Forums
Mysql always cached! - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Mysql always cached! (/showthread.php?tid=70132)



Mysql always cached! - canado - 02-25-2018

Hello,

Let's say I have no entry in my database table.
I do a select on it, the result is empty, everything wors as expected. ( I keep the process open with a sleep 10 sec )

Now a remote server is inserting an entry in this same table.

I can see the entry

Now the sleep is over and I am checking the table again. Instead of finding the new entry it is still finding no data.

I followed instructions on this website

https://github.com/bcit-ci/CodeIgniter/wiki/Unbuffered-Queries-in-CI

And I changed my mysql.allow_persistent to off.

I dont know what else I can do. Any suggestions?