php - How can I see the exact queries phpmyadmin is running? -


How can I see how SQL queries run to execute the phpmyadmin command? I do not want to create an easy database, first using phpmyadmin, then using php code. But when I create a table with phpmyadmin, it does not show the commands that it uses to create or select tables.

Is there any way? :)

Thank you!

ps: mysql version: 5.6.12

You can set your my .cnf can edit the file and add this line:

  log = / var / log / mysql.log   

Next you can monitor that file by using the tail with this file:

  tail -f var / log / mysql / mysql.log   

And you will see all the questions at real time :)

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -