Changeset 8380 for trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
- Timestamp:
- 03/20/07 17:21:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
r8303 r8380 310 310 query=$query" order by $primary desc " 311 311 # echo " QUERY: "$query 312 if ! process=`mysql -s -u $us --password=$pw --host= hercules$db -e " $query "`312 if ! process=`mysql -s -u $us --password=$pw --host=vela $db -e " $query "` 313 313 then 314 314 echo "ERROR could not query processes from db -> exit" … … 356 356 query=$query" limit 0, 1 " 357 357 # echo " QUERY: "$query 358 if ! process=`mysql -s -u $us --password=$pw --host= hercules$db -e " $query "`358 if ! process=`mysql -s -u $us --password=$pw --host=vela $db -e " $query "` 359 359 then 360 360 echo "ERROR could not query process from db -> exit" … … 392 392 # echo " QUERY: "$query 393 393 numproc=0 394 if ! numproc=`mysql -s -u $us --password=$pw --host= hercules$db -e " $query "`394 if ! numproc=`mysql -s -u $us --password=$pw --host=vela $db -e " $query "` 395 395 then 396 396 echo "ERROR could not query number of todo proceses from db -> continue" … … 430 430 query=$query" where $primary='$var2'" 431 431 echo " QUERY: "$query 432 if ! mysql -s -u $us --password=$pw --host= hercules$db -e " $query "432 if ! mysql -s -u $us --password=$pw --host=vela $db -e " $query " 433 433 then 434 434 echo "ERROR could not insert status into db -> exit"
Note:
See TracChangeset
for help on using the changeset viewer.