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
- re: Can server tell me how I connected? Brian Hughes
- re: Can server tell me how I connected? Egor Egorov
- RE: Can server tell me how I connected? Luc Foisy