0

Username : mohit

mysql -u mohit -h localhost -p

While I am trying to enter username mohit in my mysql shell in windows with/wo sudo prefix it is going to next line as

Entering passowrd does not work

Shadow
  • 33,525
  • 10
  • 51
  • 64
Jayesh
  • 3
  • 5
  • must have got an error, which was it. Have you installed the latest version? – nbk Sep 12 '21 at 15:13
  • No errors displayed .But when i enter my shell with user name it navigates to the next line for password after entering password it again navigates to the next line. – Jayesh Sep 12 '21 at 15:16
  • the mysql shell acts differently, add a semicolon + return and write SELECT version(); return – nbk Sep 12 '21 at 15:18
  • Sorry but I cannot understand the literals of your sentence .Can you pls rewrite the cmd for entering into sql – Jayesh Sep 12 '21 at 15:47
  • 1
    you said that it goes to an empty row, that jmeasn that you are **in** the mysql shell and can use comands https://dev.mysql.com/doc/mysql-shell/8.0/en/mysql-shell-commands.html – nbk Sep 12 '21 at 15:49
  • Yeah got this now ! – Jayesh Sep 12 '21 at 17:30

0 Answers0