-bash: mysql: command not found

 

 

1.vim ~/.bash_profile 最下面写 export PATH=$PATH:/usr/local/mysql/bin(你的安装bin目录)  

:wq 保存退出

2.source ~/.bash_profile

然后就直接可以实现了 给分吧 亲自试验过

 

3.

>>mysql  -uroot -p

>>输入密码

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
猜你喜欢
  • 2021-09-12
  • 2021-11-30
  • 2021-10-06
  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
相关资源
相似解决方案