current version of transcript using mysql
0
0
Entering edit mode
7.7 years ago
bioguy24 ▴ 230

I am trying to get the current version of a transcript using the below:

mysql hg19 -NBe 'select CONCAT(refseq, ".", version), kgId from kgXref, gbCdnaInfo where gbCdnaInfo.acc=kgXref.refseq' > refseqToUcscId
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

What am I doing wrong or is this the best way? Thank you :).

mysql • 1.6k views
ADD COMMENT
0
Entering edit mode

are you trying to reach the UCSC mysql server ? you must add host/user/etc...

mysql --user=genome --host=genome-mysql.cse.ucsc.edu -A ....
ADD REPLY

Login before adding your answer.

Traffic: 2724 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6