mysql-processbuilder 在linux符号识别问题
程序员文章站
2022-06-08 21:45:46
...
mysqljavalinux
ProcessBuilder exp = new ProcessBuilder(new String[] {"mysqldump","db_name","table_name",">","path/XXX.sql"});
processbuilder 对象在linux系统中不能识别“>” 会把它当成表名
mysqldump: Couldn't find table: ">"
怎样才能让linux识别">"
上一篇: PHP5如何连接不上MySQL数据库
下一篇: 有关list()的文章推荐10篇