login to mysql using username and password ubundu code example Example: ubuntu access database from terminal mysql -u USERNAME -p