Home > Mobile >  check which table got queried in mysql
check which table got queried in mysql

Time:06-07

I'm trying to revamp a product . Actually the old web app was written in raw php . Now the new one is supposed to be written in MERN stack . Now the problem is i want to know upon a certain action from my frontend which tables got hit (insert,update,select) in the database from my php code . Is the a way to do this with actually reading the whole code ?

CodePudding user response:

You should set some mysql global variables as explained in this useful threat : Example of general_log output

  • Related