connect to a mysql server code example
Example 1: mysql cli connect with password
mysql --user=root --password=mypass
Example 2: how to connect mysql local server
\connect root@localhost:3306
mysql --user=root --password=mypass
\connect root@localhost:3306