Install MAMP after terminal input MySQL prompt
mysql-bash: mysql: command not found
Then make your own connection to/usr/bin, prompting no permission
# sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/binln: /usr/bin/mysql: Operation not permitted
To connect to the database with Sequel Pro is also a hint:
MySQL said: Access denied for user 'root'@'localhost' (using password: YES)
Can you tell me how to solve these problems?
Reply content:
Install MAMP after terminal input MySQL prompt
mysql-bash: mysql: command not found
Then make your own connection to/usr/bin, prompting no permission
# sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/binln: /usr/bin/mysql: Operation not permitted
To connect to the database with Sequel Pro is also a hint:
MySQL said: Access denied for user 'root'@'localhost' (using password: YES)
Can you tell me how to solve these problems?
mysql-bash: mysql: command not found这个可能是环境变量的问题第二个不知道,没玩过。MySQL said: Access denied for user 'root'@'localhost' (using password: YES)你这是密码错误的提示呢
If you are the Mac,operation not permitted solution
El Capitan joined the rootless mechanism, no longer able to read and write many paths. It is not possible to set root permissions.
To turn off rootless
Restart Press and hold COMMAND+R, enter recovery mode, open terminal.
csrutil disable
You can restart it again.
Reference article: Http://www.jianshu.com/p/22b8 ...