参考: https://blog.csdn.net/qq_36501591/article/details/80354924?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522161526936216780264015078%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=161526936216780264015078&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~rank_v29-1-80354924.first_rank_v2_pc_rank_v29&utm_term=mysql%E6%89%A7%E8%A1%8C%E6%96%87%E4%BB%B6%EF%BC%9F 说明一下: source /data/workspace/myshixun/src/step3/table.sql; source 和后面的路径之间有一个空格。