Bug #90917 mysql shell client not have syntax help information
Submitted: 17 May 2018 14:59 Modified: 5 Oct 2018 1:04
Reporter: Bin Hong (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Shell General / Core Client Severity:S4 (Feature request)
Version:8.0.11 OS:Any
Assigned to: CPU Architecture:Any

[17 May 2018 14:59] Bin Hong
Description:
 MySQL  localhost:4406 ssl  SQL > ? alter user;
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? alter user' at line 1

How to repeat:
 MySQL  localhost:4406 ssl  SQL > ? alter user;

Suggested fix:
Whether mysqlsh client can add syntax help information?
[21 May 2018 7:16] MySQL Verification Team
Hello hong bin,

Thank you for the report and feature request!

Thanks,
Umesh
[5 Oct 2018 1:04] Alfredo Kojima
Posted by developer:
 
This is working as of version 8.0.13:

mysql-js> \? alter user
Syntax:
ALTER USER [IF EXISTS]
    user [auth_option] [, user [auth_option]] ...
    [REQUIRE {NONE | tls_option [[AND] tls_option] ...}]
    [WITH resource_option [resource_option] ...]
    [password_option | lock_option] ...

ALTER USER [IF EXISTS]
    USER() IDENTIFIED BY 'auth_string'