use database mysql commande code example Example 1: mysql cli connect with password mysql --user=root --password=mypass Example 2: mysql go into database USE dbname;