login into mysql shell code example
Example 1: login to database mysql terminal
mysql -u USERNAME -p
Example 2: connect to mysql localhost from the mysql shell
\connect root@localhost:3306
Example 3: login to database mysql terminal
show databases;