linux command to connect to mysql db code example Example: ubuntu access database from terminal mysql -u USERNAME -p