phpMyAdmin - any easy way to log the login request?

ccto

Verified User
Joined
Feb 24, 2005
Messages
287
Location
Hong Kong
Hello,

I am looking for any easy ways to log the end-user login request to phpMyAdmin.
Preferably log via syslog (or rsyslog) into /var/log/messages

It shall include the remote IP, username, login success/fail, date time.

Thank you very much for your kind advice.
 
Hello,

You should check phpMyAdmin documentation, if it's not designed to write any logs by itself, then it's rather simple to write a script which would parse apache logs for lines related to activities in phpMyAdmin.

Should you need someone to write a script for you, please feel free to contact me via PM for a quote.
 
Back
Top