how to access mysql through terminal code example Example: connect to mysql database ubuntu mysql -u USERNAME -p