connect to mysql from terminal ubuntu code example Example: connect to mysql database ubuntu mysql -u USERNAME -p