Closed Thread Icon

Topic awaiting preservation: phpMyAdmin - IP and action logging? Pages that link to <a href="https://ozoneasylum.com/backlink?for=12937" title="Pages that link to Topic awaiting preservation: phpMyAdmin - IP and action logging?" rel="nofollow" >Topic awaiting preservation: phpMyAdmin - IP and action logging?\

 
Author Thread
Synthetic
Paranoid (IV) Inmate

From: under your rug,
Insane since: Jul 2001

posted posted 10-16-2003 16:53

I know this isn't directly coding realated but didn't see a better place, so feel free to move me if you do

Anyway I've got a small team that all use the same login/pass for phpMyAdmin, i'd like to log what they do like queries they run and such, and their IP address into a file or something. Does an addon module like this exist or anyone have an idea of an alternative?

I'd rather not have to give everyone their own login, and even then i'm missing the logging features i'm wanting.

Thanks in advance for any help, I looked all over google for a couple hours and came up dry, I'm almost shocked this kinda thing isn't already default featured in the script. You know like different user access levels and such, and admin can read logs of what normal users do, that would be great to have by default install

Synthetic's Chess Player Page

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 10-16-2003 17:57

I'm not aware of a module for PHP that does this. However it wouldn't be hard to do from the phpmyadmin source files.

I think the file you want to modify is sql.php, to do this all you need to do is find the main sql query function and insert your logging code.



.:[ Never resist a perfect moment ]:.

Synthetic
Paranoid (IV) Inmate

From: under your rug,
Insane since: Jul 2001

posted posted 10-19-2003 05:57

Ok thanks, will go try that

Synthetic's Chess Player Page

« BackwardsOnwards »

Show Forum Drop Down Menu