get password for mysql user code example Example: select password from user mysql mysql> SELECT host,user,authentication_string FROM mysql.user;