Skip to content

Instantly share code, notes, and snippets.

@siliconmeadow
Created November 4, 2013 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siliconmeadow/7303417 to your computer and use it in GitHub Desktop.
Save siliconmeadow/7303417 to your computer and use it in GitHub Desktop.
To find domain names and hosting types by client in Plesk.
SELECT domains.name, domains.htype, clients.cname
FROM domains, clients
WHERE clients.id = domains.cl_id
AND clients.id = <(an integer)>
ORDER BY domains.htype ASC;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment