• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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