当前位置:Gxlcms >
数据库问题 >
转 MySQL shell脚本执行错误 $'\r':command not found
转 MySQL shell脚本执行错误 $'\r':command not found
时间:2021-07-01 10:21:17
帮助过:2人阅读
bash: dos2unix: command not found...
[root@localhost soft]# yum -y install dos2unix
- 在linux上执行 dos2unix 脚本名,
-
[root@localhost soft]# dos2unix mysql_install_binary5.6.16.sh
-
dos2unix: converting file mysql_install_binary5.6.16.sh to Unix format ...
然后执行脚本
脚本执行完毕,MySQL直接到登录界面。完成。
在学习中尽量慢慢养成好的习惯,在Linux下编码 测试 更新等
结尾
在工作和学习中遇到的问题和大家分享,希望对大家有所帮助
转载于:https://blog.51cto.com/it3246/2097318
转 MySQL shell脚本执行错误 $'\r':command not found
标签:content 登录 处理 安装 log man class com sof