i'm trying to connect to an open access db (Ensembl) through the module. the anonymous account has no passwd, however it appears 'YES' is passed by defualt. passing an empty string appears to be working, error: incorrect database. has anyone else connected to Ensembl and can they give me any advice?
"ensembldb.ensembl.Registry" isn't the right database name (MySQL doesn't support such database names). Looking at the ensemble.org website, it appears there is a registry service that needs to be used to find out the correct database name for the particular data you want to look at.
hi,
i'm trying to connect to an open access db (Ensembl) through the module. the anonymous account has no passwd, however it appears 'YES' is passed by defualt. passing an empty string appears to be working, error: incorrect database. has anyone else connected to Ensembl and can they give me any advice?
db=_mysql.connect(host="ensembldb.ensembl.org", user="anonymous",
passwd="",db="ensembldb.ensembl.Registry")
os = suse 10.0, python 2.4, module version 1.2.0-3
thanks,
kt
"ensembldb.ensembl.Registry" isn't the right database name (MySQL doesn't support such database names). Looking at the ensemble.org website, it appears there is a registry service that needs to be used to find out the correct database name for the particular data you want to look at.
Take a look at http://www.ensembl.org/info/software/registry/index.html, it has the command-line commands to figure out what databases are available.
Jim