connect to mysql via terminal code example Example: login to database mysql terminal mysql -u USERNAME -p