Bug #7843 Command Line Parameters
Submitted: 12 Jan 2005 18:51 Modified: 19 Nov 2008 10:18
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S4 (Feature request)
Version: OS:Windows (Windows)
Assigned to: Mike Lischke CPU Architecture:Any

[12 Jan 2005 18:51] [ name withheld ]
Description:
MySQL Administrator doesn't handle Command Line Parameters, which
makes it unusable within Batch/Shell-Scripts or other calls.

How to repeat:

Suggested fix:
Add Command Line Parameters like the MySQL-Client has:

mysqladministrator(.exe) [options] [tablename]

--user=user_name, -u user_name
--host=host_name, -h host_name
--password[=password], -p[password]
...
[22 Apr 2005 17:45] Alfredo Kojima
The Linux version already supports the following options:

Usage: ./mysql-administrator-bin [OPTIONS]
  -h,--help             Display this help and exit.
  -u,--user=name        User for login if not current user.
  -p,--password=s       Password to use when connecting to server.
  -h,--host=name        Connect to host.
  -P,--port=#           Port number to use for connection.
  -S,--socket=name      Socket file to use for connection.
  -c,--connection=name  Specify the name of a connection to use.
  -bp name               Execute backup with named profile.
  -bt target             Target path for backup.
  -bx prefix             Prefix for backup file.
  -c,--connection=name  Specify the name of a connection to use.
  --dont-connect        Start without connecting to a MySQL server.
  --mycnf=path          Path for my.cnf file.
[22 Apr 2005 21:19] [ name withheld ]
Great, this Command Line Parameters should be ported to Windows as well.
[19 Nov 2008 10:18] Mike Lischke
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at

  http://www.mysql.com/downloads/