Do we require any authentication for login into MySQL command line tool?


Yes, we require authentication for login into MySQL command line tool. For example, if we are trying to log in from windows command line then it will prompt for the password every time. The command for login is as follows −

C:\Program Files\MySQL\bin>mysql -u root -p
Enter password: *****

Updated on: 20-Jun-2020

94 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements