Jump to content

[noob inside] DB analisis


fumerolles

Recommended Posts

Hi all
I buy a module and the graphical interface of the mudule  doesn't allow me to do what I want,
but I suppose the module contain all nessesary functions.

The dev have no time for a custom dev, so I wish to analyse the SQL request that this module do.
I tried to activate the mysqlbinlog but the output is in binary mode, I can't read it.
 

 mysqlbinlog mysql-bin.000001

Do you know a method to see the SQL requests Prestashop send to MySQL ?
(debug mode, log file, whatever)

Thanks !

Nicolas

Link to comment
Share on other sites

You can also do that within Prestashop:

 - Edit /config/defines.inc.php

 - set _PS_DEBUG_PROFILING_ to true

When you now open a page in your front or backoffice you will find below the real page a long list of sql queries with additional information like where they are in code and how long they took.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...