how to open mysql with password in terminal code example Example: ubuntu access database from terminal mysql -u USERNAME -p