MySQL comes with command line tool "mysql" that can be used to connect to MySQL and manage database.
To connect to MySQL, you should know MySQL username and password.
Connect to MySQL
It will ask you password.Code:mysql -u root -p
Some Basic Commands
Show all databases.
Exit from MySQLCode:show databases;
To exit out of MYSQL prompt, type
Code:exit
Bookmarks