1.新建.bash_profile文件
2.export PATH=${PATH}:/usr/local/mysql/bin
3.source .bash_profile
4.mysql -u root -p
macOS安装mysql后,进入mysql出现command not found
最新推荐文章于 2024-07-09 10:34:56 发布
1.新建.bash_profile文件
2.export PATH=${PATH}:/usr/local/mysql/bin
3.source .bash_profile
4.mysql -u root -p