`
lizhuang
  • 浏览: 888519 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

mysql mac os 加入命令行及mac mysql开始无密码重置密码

 
阅读更多
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.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics