connect mysql server terminal code example
Example 1: login to database mysql terminal
mysql -u USERNAME -p
Example 2: mysql cli connect with password
mysql --user=root --password=mypass
mysql -u USERNAME -p
mysql --user=root --password=mypass