MySQL is unable to enter a password. [Duplicate]

Asked 1 years ago, Updated 1 years ago, 35 views

(One answer) 7 years ago

Use itterm2macYOSEMITE

http://qiita.com/sotayamashita/items/b784459356686641dabe
I was referring to this, but when I try to stop it at mysql.service stop, I get a command not found.

Also, when I type mysql on the screen right after I start the terminal, it says command not found and I can't even enter MySQL mode (I put it in before, but I couldn't get out of mode and dropped the iTerm once).

I've been trying to log in for about 20 hours, but no matter how much I try, there's no progress...Please let me know...

mysql

2022-09-30 17:31

1 Answers

Maybe when it went well, didn't you start the terminal and pass the path first?
Once the terminal has been re-launched, you have to go through the path again.

Referred Home Page

export PATH=/usr/local/mysql/bin:$PATH

That's where it is.

If you find it difficult to pass the path every time you restart the terminal, you can write .bashrc and so on, and you won't have to worry about setting it up.


2022-09-30 17:31

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.