配置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错误
感觉死循环了 求高手解答一下 谢谢!