SHOW PROCESSLIST? > -----Original Message----- > From: Brian Hughes [mailto:BLH@;pobox.com] > Sent: Thursday, October 31, 2002 11:08 AM > To: [EMAIL PROTECTED] > Subject: Can server tell me how I connected? > > > Hi. > > Is there anyway to get a mysql server to tell me > > a) What user I am connected as? > b) What host I am connected from (i.e., localhost vs. fqdn)? > c) What database I am using? > > The reason for the question is that I want to print > diagnostics in scripts > that don't contain connection information (it is hidden in > configuration > files parsed by library code). > > So mysql_access, database 'use' or 'select' statements, or looking at > script dbh parameters don't help. > > - BLH > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > >
--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php