...
Create a MySQL options file in your home directory called ~/.my_cal.cnf
.
Change the permissions so that you are the only one who can read it (chmod 600
).
Add the following lines to the file:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[client]
host=glastCalibDB.slac.stanford.edu
user=<your database user name>
password=<your database password>
database=calib (for testing use |
You can use the calib_test
)database instead of the calib database for testing. You may need to enclose your password in quotes if it contains certain special characters (like #).
...