Jul
30
ActiveRecord and mysql: show my databases
Working on a ruby API for the Ensembl databases, I bumped into the issue of having to connect to a database without knowing its name.
The ensembl database server hosts databases for each species. Every two months or so, there's a new release which means a new database for every single species. To see what databases are there, you can login to the ensembl server with mysql:
mysql -h ensembldb.ensembl.org -u anonymous
(for more information, see here).
The ensembl database server hosts databases for each species. Every two months or so, there's a new release which means a new database for every single species. To see what databases are there, you can login to the ensembl server with mysql:
mysql -h ensembldb.ensembl.org -u anonymous
(for more information, see here).