mysql current user code example Example: mysql current user -- mysql current user: SELECT USER(); -- or SELECT CURRENT_USER();