Eine Einführung in

SQL

Who am I - what is my user id?

MySQL
Find the user name or user id.
The SQL standard permits the function USER


Specific to MySQL
The user() function include the user name and the name of the machine you are using. In this case the perl script feeding the result page is on the same machine as the database so we get localhost.