MySQL Forums
Forum List  »  MySQL Shell

Unable to sign into shell
Posted by: alan scott
Date: February 23, 2022 10:56AM

I've downloaded MySQL 8.0.28 and I'm running it under Windows 11 on my own PC.
While I can get into Workbench and work with that I don't seem to be able to sign into the shell.
I'm using the Tutorial in the MySQL documentation and when I type in
-u root I get a syntax error.
When I use the '\help' command it just returns the word help.
The prompt has MySQL with a white background followed by JS with a yellow background.

Below is a copy of the shell showing these issues.

Any help welcome in telling me where I'm going wrong would be welcome.

MySQL Shell 8.0.28

Copyright (c) 2016, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.

Type '\help' or '\?' for help; '\quit' to exit.
MySQL JS > -u root
SyntaxError: Unexpected identifier
MySQL JS > '\help'

Options: ReplyQuote

Written By
Unable to sign into shell
February 23, 2022 10:56AM
March 03, 2022 04:18PM
March 05, 2022 11:15AM
March 05, 2022 04:33PM
March 06, 2022 10:18AM
March 06, 2022 10:32AM
March 06, 2022 12:02PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.