User Tools

Site Tools


onboarding_affiliates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
onboarding_affiliates [2019/01/14 20:45]
acallaha
onboarding_affiliates [2021/01/20 11:54]
jfries
Line 32: Line 32:
   * All __publications or presentations__ relating to the data will be cleared in advance through Shah lab.   * All __publications or presentations__ relating to the data will be cleared in advance through Shah lab.
  
-===== How to connect to Dev2 ======+===== How to connect to shahlab-compute (formerly dev2) ======
 If you are off-campus (or on the wireless network), you will need [[https://itservices.stanford.edu/service/vpn| VPN]].\\ If you are off-campus (or on the wireless network), you will need [[https://itservices.stanford.edu/service/vpn| VPN]].\\
 SSH command to connect (open a terminal): SSH command to connect (open a terminal):
  
-<code>ssh <yourusername>@shahlab-dev2.stanford.edu </code>+<code>ssh <yourusername>@shahlab-compute.stanford.edu </code>
  
 The first time you do this it will ask you to store the RSA key, just type yes. After the first time, this should not appear anymore.  The first time you do this it will ask you to store the RSA key, just type yes. After the first time, this should not appear anymore. 
  
-===== How to connect to DB1 ======+===== How to connect to shahlab-database (formerly db1) ======
 There are multiple different ways of connecting to the database server. If you are off-campus, you will need [[https://itservices.stanford.edu/service/vpn| VPN]].\\ There are multiple different ways of connecting to the database server. If you are off-campus, you will need [[https://itservices.stanford.edu/service/vpn| VPN]].\\
  
-**NOTE: Your DB1 password is NOT the same as your dev2 password. It is found on the .my.cnf file file on your home/your_name directories.** +**NOTE: Your DB1 password is NOT the same as your shahlab-compute password. It is found on the .my.cnf file file on your home/your_name directories.** 
  
 1) (The easiest way) Set up a MySQL GUI:\\ 1) (The easiest way) Set up a MySQL GUI:\\
Line 60: Line 60:
 3) (hard and confusing) Create a tunnel from the database server to your computer: 3) (hard and confusing) Create a tunnel from the database server to your computer:
  
-- To connect to //shahlab-db1.stanford.edu//, a MySQL database (port 3306), tunnel via //shahlab-dev2.stanford.edu//+- To connect to //shahlab-database.stanford.edu//, a MySQL database (port 3306), tunnel via //shahlab-dev2.stanford.edu//
-<code>ssh -L 3306:shahlab-db1.stanford.edu:3306 <yourusername>@shahlab-dev2.stanford.edu -Nf</code>+<code>ssh -L 3306:shahlab-database.stanford.edu:3306 <yourusername>@shahlab-compute.stanford.edu -Nf</code>
 - Use your local copy of MySQL (you need to instal the MySQL client on your computer) \\ - Use your local copy of MySQL (you need to instal the MySQL client on your computer) \\
 - Then connect to the database of interest - Then connect to the database of interest
 <code>mysql -h localhost -P 3306 -u<yourusername> -p<yourpassword> <databasename></code> <code>mysql -h localhost -P 3306 -u<yourusername> -p<yourpassword> <databasename></code>
onboarding_affiliates.txt · Last modified: 2021/11/23 17:25 by acallaha