mac mysql 报错_mac os mysql 配置?报错-问答-阿里云开发者社区-阿里云
生活随笔
收集整理的這篇文章主要介紹了
mac mysql 报错_mac os mysql 配置?报错-问答-阿里云开发者社区-阿里云
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
配置mysql
appledeMacBook-Pro-2:~ apple$ /usr/local/mysql-5.7.15-osx10.11-x86_64/bin/mysqladmin -u root password 12345
報錯:error: 'Access denied for user 'root'@'localhost' (using password: NO)'
調試的時候 輸入mysql 出現報錯
command not found 查閱資料后建立連接文件
ln -s /usr/local/mysql/bin/mysql /usr/bin
然后查閱資料發現 sudo ln -s /usr/local/mysql/bin/mysql /usr/bin
這條語句也不可以
alias mysql=/usr/local/mysql/bin/mysql
報錯:
ERROR 1045 (28000): Access denied for user 'apple'@'localhost' (using password: NO)
出現1045錯誤
感覺死循環了 求高手解答一下 謝謝!
總結
以上是生活随笔為你收集整理的mac mysql 报错_mac os mysql 配置?报错-问答-阿里云开发者社区-阿里云的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: win10家庭版没有device gua
- 下一篇: mysql 36条军规_mysql开发3