执行mysql脚本命令错误提示mysqld: command n
2021-02-19 本文已影响0人
Kyrie_Jeremy
在mysql官网学习的过程中,调用shell> mysqld --verbose --help脚本命令出现mysqld: command not found提示。
在官网有搜索到该错误提示解决方法。需要将mysql的环境变量配置到系统变量中。
export PATH="/bin:/usr/bin:/usr/local/mysql/bin"
附上官网上的链接:https://forums.mysql.com/read.php?11,196651,196738#msg-196738](https://forums.mysql.com/read.php?11,196651,196738#msg-196738)