MySQL Forums
Forum List  »  Newbie

Re: syntaxError: unexpected identifier in shell mysqladmin -u
Posted by: senthil eswaramoorthy
Date: November 14, 2017 03:13PM

First try to connect the server using below command.
mysql-sql> \connect root@localhost
When the connection established, it will propmt for password. since you've not the password you shouldn't get the prompt.

mysql-js> \connect root@localhost
Creating a Session to 'root@localhost'
Enter password: ********
Your MySQL connection id is 13
Server version: 5.7.20-log MySQL Community Server (GPL)
No default schema selected; type \use <schema> to set one.

Options: ReplyQuote

Sorry, only registered users may post in this forum.

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.