-
Notifications
You must be signed in to change notification settings - Fork 23
list_mysql_databases
Martin Asser Hansen edited this page Oct 2, 2015
·
6 revisions
List all MySQL databases available by using list_mysql_databases, which uses the system's ´mysqlshow´. Each database is output as a Biopiece record.
See how to setup default MySQL username and password here: http://code.google.com/p/biopieces/wiki/HowTo#Howto_setup_default_MySQL_username_and_password
list_genomes [options]
[-? | --help] # Print full usage description.
[-u <string> | --user=<string>] # MySQL user - Default=<from ~/.biopiecesrc>
[-p <string> | --password=<string>] # MySQL user password - Default=<from ~/.biopiecesrc>
[-v | --verbose] # Verbose output.
To list all MySQL databases use list_mysql_databases:
list_mysql_databases
DATABASE: information_schema
---
DATABASE: mysql
---
DATABASE: test
---
Martin Asser Hansen - Copyright (C) - All rights reserved.
July 2009
GNU General Public License version 2
http://www.gnu.org/copyleft/gpl.html
list_mysql_databases is part of the Biopieces framework.