[ensembl-dev] Database names? show databases;

Matthew Astley mca at sanger.ac.uk
Tue Jun 19 09:32:13 BST 2012

On Mon, Jun 18, 2012 at 03:16:46PM -0400, Maury Markowitz wrote:
> On 2012-06-18, at 1:53 PM, Erikjan wrote:

> > Perhaps "show databases" is what you're looking for?
> Indeed, if one had an operational connection... it's a catch-22. And
> yes, this really does return an error:
> ODBC Error: [MySQL][ODBC 5.1 Driver][mysqld-4.1.20-standard-log]No database selected

(Maybe you've tried already, but) the schemas mysql and
information_schema should always be available.  Hopefully that's
enough workaround to get things going?


More information about the Dev mailing list