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

MySQLMySQLi Database

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: *****
raja
Published on 21-Feb-2018 11:22:36
Advertisements