mysql connect to db command code example Example: mysql cli connect with password mysql --user=root --password=mypass