MySQL CURRENT_USER
The CURRENT_USER() function in MySQL is used to return the current user name and host name combination for the MySQL session. It is often employed to retrieve information about the user who is currently connected to the MySQL server. The function provides details in the format ‘user_name’@’host_name’. Syntax Here is the syntax for the CURRENT_USER() […]