"show databases" via DBD::mysql

Peter Corlett abuse at cabal.org.uk
Sun Jan 15 14:20:08 GMT 2006

Paul Makepeace <london.pm.org at paulm.com> wrote:
> If I omit dbname=foo from the DSN it complains about a database not
> being selected.

You can use dbname=mysql, as the mysql database is guaranteed to be

> PS for those that don't read subject lines assiduously, this is
> about MySQL not any other, very possibly compliant, DB.

You'll be wanting the "template1" database instead :)

PGP key ID E85DC776 - finger abuse at mooli.org.uk for full key

More information about the london.pm mailing list