title: How to check if a user requires SSL in Mysql?
body: <p>I'am testing with an AWS RDS Mysql instance with Mysql verison 5.7.22.</p>
  
  <p>After <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.SSLSupport" rel="nofollow noreferrer">requiring</a> ssl for a specific user, 'root' (GRANT USAGE ON <em>.</em> TO 'root'@'%' REQUIRE SSL;"), this is the result of SHOW GRANTS for root;</p>
  
  <pre><code>+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Grants for root@%                                                                                                                                                                                                                                                                                                              |
  +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD,
    PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, 
   CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, 
   REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, 
  ALTER ROUTINE, CREATE USER, EVENT, TRIGGER ON *.* TO 'root'@'%' 
   WITH GRANT OPTION |
  +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  1 row in set (0.00 sec)
  </code></pre>
  
  <p>Is there anyway I can check to see that ssl is required for a user? Show grants output doesn't mention ssl. I would think that Show grants is the right command to use because ssl was initially required on the user via GRANT USAGE.</p>