If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Recording Queries, Executed by PHP Script?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-04, 03:22
pual_cruzs pual_cruzs is offline
Registered User
 
Join Date: Jul 2004
Posts: 3
Post Recording Queries, Executed by PHP Script?

Is there any utility in MySQL as I want to make a history/Log file of all DML statements excluded from PHP script. The file will be similar to the history file maintained by MySQL client. Whenever we write query in MySQL client it is also recorded in some history file, the queries we executed before, we could see them in lower MySQL client window, and these comes from that history file. I want the same criteria for PHP, when ever my PHP script execute a query by mysql_query($query) command it is recorded in some log/history file maintained by the server.
Please tell me how I could set up my MySQL server so it makes a log file of DML queries for me. The MySQL server software I am using is mysql-4.0.18-win and using PHP4 for scripting.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On