想求助一个solaris下的mysql的shell脚本,功能大概是
从一个表中取出一些统计数据到 另外的表中cd /export/home/mysql/bin
./mysql -udevelop -pdevelop develop
insert table a ...
quit;可不知为什么 执行后老是停在
mysql> 就没有反应了,
从一个表中取出一些统计数据到 另外的表中cd /export/home/mysql/bin
./mysql -udevelop -pdevelop develop
insert table a ...
quit;可不知为什么 执行后老是停在
mysql> 就没有反应了,
set pagesize 0
set linesize 2048
set heading off
set feedback off
set tab offselect x_tn_value from table_x_tn_data
where x_status=1
and x_act_type<>150
;EOF注意EOF的使用