Sonam Chauhan wrote:
>
> Hi Sasha:
>
> I was looking for passing some additional information from the client
> to mySQL and this information making it's way to the logs.
>
> Specifically, I would like to pass a *website* username from Apache/mod_perl DBI,
> (as opposed to passing a *mysql* username) and this information being added to a
> log file.
> Thanks for your information on the binary log.
It seems to me like you are trying to knock on the wrong door here. MySQL has no
way of knowing the website user name in the general case. The kind of logging
you need should happen in your application.
--
MySQL Development Team
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sasha Pachev <sasha@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/
/_/ /_/\_, /___/\___\_\___/ Provo, Utah, USA
<___/