Changes between Version 6 and Version 7 of Old/Documentation/OTG/Measurement/DatabaseProcess
- Timestamp:
- Aug 13, 2006, 3:45:02 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Documentation/OTG/Measurement/DatabaseProcess
v6 v7 27 27 $hostname = 'idb1.orbit-lab.org'; 28 28 $user = 'orbit'; 29 $database = 'none';29 $database = @ARGV; 30 30 $password = 'orbit'; 31 31 $resultfile ='tempres'; 32 32 33 33 34 $table1 = "t emp/tx_table";35 $table2 = " temp/rx_table";34 $table1 = "tx_table"; 35 $table2 = "rx_table"; 36 36 37 37 $driver = 'mysql'; … … 57 57 { 58 58 my ($dbname,$f1, $f2) = @_; 59 open (OUTFILE1, "> $f1") ;59 open (OUTFILE1, "> $f1") 60 60 || die "Can't open file to save temporary TX data $!\n"; 61 open (OUTFILE2, "> $f2") ;61 open (OUTFILE2, "> $f2") 62 62 || die "Can't open file to save temporary RX data $!\n"; 63 63 my $dbh = Mysql->connect($hostname, $dbname, $user, $password); … … 77 77 } 78 78 79 80 81 82 79 }}}