You can follow the discussion on Fetching MySQL query result in bash without having to leave a comment. Cool, huh? Just enter your email address in the form here below and you’re all set.