Gurinder121
4 months ago

Unable to connect log into mySQL

Posted 4 months ago by Gurinder121

I am new to mySQL. Looks like I have to reset my password. Not sure what's going on.

Me: brew services restart mysql

The terminal: MacBook-Air:php-learning gurinderkhabra$ brew services restart mysql Stopping mysql... (might take a while) ==> Successfully stopped mysql (label: homebrew.mxcl.mysql) ==> Successfully started mysql (label: homebrew.mxcl.mysql)

me: mysql -uroot

Terminal:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Please sign in or create an account to participate in this conversation.