You might want to add aliases to your shell's resource file to make it
easier to access commonly used programs such as `mysql' and
`mysqladmin' from the command line. The syntax for `bash' is:
alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
mac mysql开始无密码重置密码
Type:/usr/local/mysql/bin/mysqladmin -u root -p password
When it asks for a password, not not enter anything, just hit enter. It will then ask you to enter new password, then confirm. Finished.
mysql mac os 加入命令行及mac mysql开始无密码重置密码
猜你喜欢
转载自lizhuang.iteye.com/blog/1911010
今日推荐
周排行