[Win/Mac] MySQL Root Password (Option 1)

Important! Please Read! (Win and Mac Only)

To set your MySQL root password, I forgot to mention that you need to use the following command to do that. Just change "[PASSWORD HERE]" to your desired password. If you need further help, please use the Q&A section.

# Mac:
mysqladmin --user=root password "[PASSWORD HERE]"

# Windows:
mysqladmin.exe --user=root password "[PASSWORD HERE]"

In the next lecture, I'll do a video walkthrough on Windows to show you an alternative way to change the root password. (Should work for Mac, too!)

Discussion

0 comments