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