IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2023, 4:39:59 PM (3 years ago)
Author:
eugene
Message:

enable ippc190 mysql 5.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/queue.rawfix.sh

    r42454 r42455  
    1212set DBHOST = "ippc190"
    1313set DBNAME = "rawfix"
    14 set DBUSER = "dvo"
    15 set DBPASS = "dvo"
     14# set DBUSER = "dvo"
     15# set DBPASS = "dvo"
     16
     17set DBOPTS = "--defaults-extra-file=~/.my.cnf.rawfix -h $DBHOST $DBNAME"
    1618
    1719if ($mode == "list") then
     
    4951  endif
    5052
    51   mysql -h $DBHOST -u $DBUSER -p$DBPASS $DBNAME -e "insert into nights (dateobs, state) values ('$mynight', 'new')"
     53  mysql $DBOPTS -e "insert into nights (dateobs, state) values ('$mynight', 'new')"
    5254  exit 0
    5355endif
Note: See TracChangeset for help on using the changeset viewer.