ret_value=$(
/usr/bin/mysql -uroot -h $db_ip <<QUERY_STRING
use my_database;select * from my_table where name = 'china';
QUERY_STRING
)
本文共 204 字,大约阅读时间需要 1 分钟。
ret_value=$(
/usr/bin/mysql -uroot -h $db_ip <<QUERY_STRING
use my_database;select * from my_table where name = 'china';
QUERY_STRING
)
转载于:https://www.cnblogs.com/mydomain/archive/2012/10/16/2726965.html