Project

General

Profile

« Previous | Next » 

Revision 8890

lib/runscripts/local.run: added connection vars for local (bien) user

View differences:

local.run
9 9

  
10 10
export PATH="$bin_dir:$PATH"
11 11

  
12
#### connection vars
13

  
14
: "${remote_server=vegbiendev.nceas.ucsb.edu}"
15
: "${local_server=localhost}"
16
: "${local_user=bien}"
17
: "${local_password="$(cat "$root_dir"/config/bien_password)"}"
18

  
19
#### databases
20

  
21
### MySQL
22

  
12 23
mysql ()
13 24
{
14 25
	echo_func
15 26
	echo_run mysql_bien --database="$schema" --verbose "$@"
16 27
}
17 28

  
29
### PostgreSQL
30

  
18 31
psql () # usage: [file=...] [dir=...] self
19 32
{
20 33
	echo_func

Also available in: Unified diff