Mamp after installation no MySQL control command, soft connection no permissions, etc.

Source: Internet
Author: User
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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.