摘要: 参考:http://blog.sina.com.cn/s/blog_54da57aa010154r7.html 阅读全文
posted @ 2018-07-15 11:24 lvlin241 阅读(556) 评论(0) 推荐(0) 编辑
摘要: 参考:https://bbs.csdn.net/topics/391838987 阅读全文
posted @ 2018-07-15 11:15 lvlin241 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/hurryjiang/article/details/7077725 阅读全文
posted @ 2018-07-15 11:09 lvlin241 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 参考: https://stackoverflow.com/questions/7389416/postgresql-how-to-pass-parameters-from-command-line https://blog.csdn.net/dazuiba008/article/details/7 阅读全文
posted @ 2018-07-08 16:18 lvlin241 阅读(4814) 评论(0) 推荐(0) 编辑
摘要: mysql, shell脚本中执行sql脚本并传递参数 阅读全文
posted @ 2018-07-08 16:03 lvlin241 阅读(13883) 评论(0) 推荐(0) 编辑
摘要: 1、sql脚本(t.sql) 2、shell脚本(a.sh 为方便说明,a.sh与t.sql在同一目录下) 说明:3种执行方式,后两行也可以(已注释,感兴趣可以尝试下) #!/bin/sh mysql -u root < t.sql# mysql -u root -e "source t.sql"# 阅读全文
posted @ 2018-07-08 15:17 lvlin241 阅读(10589) 评论(0) 推荐(0) 编辑
摘要: 1、mysql 数据库表信息 2、shell脚本(a.sh)信息 3、执行 ./a.sh 4、 执行结果 阅读全文
posted @ 2018-07-08 15:06 lvlin241 阅读(9250) 评论(0) 推荐(0) 编辑
摘要: (a.sh)读取用户输入参数,并在脚本(b.sh)中使用 1、a.sh 2、b.sh(这里把b.sh与a.sh放在同一目录下,便于演示) 3、 执行 4、执行结果 阅读全文
posted @ 2018-07-08 14:45 lvlin241 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1、a.sh 2、b.sh(这里把b.sh与a.sh放在同一目录下,便于演示) 3、 执行 4、执行结果 阅读全文
posted @ 2018-07-08 14:30 lvlin241 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 1. Failed to configure a DataSource: 'url' attribute is not specified and no embedde 参考:https://blog.csdn.net/Coyotess/article/details/80637837 阅读全文
posted @ 2018-06-30 18:50 lvlin241 阅读(175) 评论(0) 推荐(0) 编辑