Mysql will prompt you for your password - type in in and hit enter again.
In your case, I'd try /usr/local/mysql/bin/mysql -u root -p then hit enter.Ask Question Asked 10 years, 10 months ago. PHP & MySQL on Mac OS X: Access denied for GUI user. Mysql Mac Os Access Denied For User Root Localhost Using Password Yes.
In this tutorial, we are going to learn how to install MySQL community server on Mac and setting up the MySQL in Terminal app.