sign into mysql cmd code example
Example 1: mysql login console
mysql -u USERNAME -p
Example 2: mysql cli connect with password
mysql --user=root --password=mypass
Example 3: login to database mysql terminal
use DBNAME;
mysql -u USERNAME -p
mysql --user=root --password=mypass
use DBNAME;