参考:
https://blog.csdn.net/vah101/article/details/83014338
执行expect脚本的命令为:
expect create_database.sh node1 5432 zz1