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