vim /etc/profile
在最后,添加:
export PATH="/usr/local/webserver/mysql/bin:$PATH"
保存,退出,然后运行:
source /etc/profile
不报错则成功。
centos修改环境变量
发布时间 2023-07-13 14:04:11作者: Guang'Jun
vim /etc/profile
在最后,添加:
export PATH="/usr/local/webserver/mysql/bin:$PATH"
保存,退出,然后运行:
source /etc/profile
不报错则成功。