pass host in mysql connect ubuntu code example
Example 1: mysql cli connect with password
mysql --user=root --password=mypass
Example 2: connect to mysql database ubuntu
mysql -u USERNAME -p
mysql --user=root --password=mypass
mysql -u USERNAME -p