./mysql_install_db: line 37: use: command not found

리눅스/MySQL|2015. 1. 16. 11:41
반응형

MySQL 설치시 아래와 같은 에러 메세지가 나타났을 경우


# sh ./mysql_install_db
./mysql_install_db: line 37: use: command not found
./mysql_install_db: line 38: use: command not found
./mysql_install_db: line 39: use: command not found
./mysql_install_db: line 40: use: command not found
./mysql_install_db: line 41: use: command not found
./mysql_install_db: line 42: use: command not found
./mysql_install_db: line 43: use: command not found
./mysql_install_db: line 45: syntax error near unexpected token `"pass_through"'
./mysql_install_db: line 45: `Getopt::Long::Configure("pass_through");'


아래와 같이 실행 명령을 바꾸어 해결할 수 있습니다.

# perl ./mysql_install_db



반응형

댓글()