Home >Database >Mysql Tutorial >linux下java调用多行有相互依赖关系的shell命令,如何调用

linux下java调用多行有相互依赖关系的shell命令,如何调用

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:35:121586browse

javalinux脚本mysqlshell

小弟想用java调用用多行有前后依赖关系的shell命令:
例如:
先process=Runtime.getRuntime().exec("mysql");进入mysql命令行
在用java给mysq命令行传mysql脚本,执行脚本命令

麻烦大家回答一下,或者给点建议意见

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn