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
Updated on 20-Jun-2020 13:52:19

Advertisements