a guest Mar 20th, 2016 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // How to reset root password for MySQL on mac
- mysql.server restart --skip-grant-tables
- UPDATE mysql.user SET Password=PASSWORD('new_root_password') WHERE User='root';
- mysql -u root -p
- // new_root_password or your password
- Can't start MySQL on mac due to `permission deny`?
- check if you have a mysql user on your system, or just change the ownership to your users
- sudo chown -R you-system-user:your-system-user-group /usr/local/mysql
RAW Paste Data