how to use mysql in command line code example Example: connect to mysql database ubuntu mysql -u USERNAME -p