• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

MySQL CLI Question

Michael MacDonald

Basic Pleskian
I would like to use CLI to extract from MySQL a list of all user accounts and associated domains.

Does anyone know this command?

Thank you in advance.
 
Try to use something like:

mysql> select mail_name,name from mail left join domains on mail.dom_id = domains.id inner join accounts where mail.account_id = accounts.id order by name asc;
 
Back
Top