MySQL Forums
Forum List  »  Newbie

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

Hi,
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.

FYR.
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.
mysql-js>

Options: ReplyQuote




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.