SHARE
TWEET

Untitled

a guest Mar 20th, 2016 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. // How to reset root password for MySQL on mac
  4. mysql.server restart --skip-grant-tables
  5. mysql
  6. UPDATE mysql.user SET Password=PASSWORD('new_root_password') WHERE User='root';
  7. exit
  8. mysql -u root -p
  9. // new_root_password or your password
  10.  
  11.  
  12. Can't start MySQL on mac due to `permission deny`?
  13. check if you have a mysql user on your system, or just change the ownership to your users
  14. sudo chown -R you-system-user:your-system-user-group /usr/local/mysql
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top