mysql cli connect with password
snippet in sql

login to database mysql terminal

user6699

mysql -u USERNAME -p

mysql cli connect with password

user5113

mysql --user=root --password=mypass

login to database mysql terminal

user7856

show databases;