This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Help : How To Connect To Genome-Mysql.Cse.Ucsc.Edu.

I have a simple question for mysql. I am not sure where I should paste the command below.

UCSC suggest to connect to the MySQL server using the command:

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

My results:

mysql>mysql --user=genome --host=genome-mysql.cse.ucsc.edu -A
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual.....

How to connect to genome-mysql.cse.ucsc.edu. by mysql workbench correctly? Thanks

mysql ucsc encode

Hi all,

I tried the following command:

$ mysql --user=genome --host=genome-mysql.cse.ucsc.edu

What I got was this:

ERROR 2003 (HY000): Can't connect to MySQL server on 'genome-mysql.cse.ucsc.edu' (110)

Any idea what is wrong here?

Thanks in advance.

1 answer

mysql>mysql --

shows that you are trying to run the mysql client program inside another mysql client program! Just exit mysql and from the SHELL (sh, bash,...) re-type your command:

$ mysql --user=genome --host=genome-mysql.cse.ucsc.edu -A

I tried it in cmd (windows) under mysql bin directory, it works. Thank you.

Log in to answer this question.