From: sasha Date: November 14 2000 1:56am Subject: Re: Question on detailed logging List-Archive: http://lists.mysql.com/mysql/56222 Message-Id: <3A109BE3.55C6EBA0@mysql.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/ /_/ /_/\_, /___/\___\_\___/ Provo, Utah, USA <___/