//Type this on your terminal for no password access to mysql database
//root in -uroot is your username -u[USERNAME]
//-p means password that has nopassword -p[] (NO SPACE)
//NOTE: if you have a password it will be written as -p[PASSWORD] E.G -p12345
Applications/MAMP/Library/bin/mysql -uroot -p
//To change password in mysql terminal/cmd
ALTER USER 'root'@'localhost' IDENTIFIED BY 'New-Password';