MYSQL入门学习之十八:MYSQLADMIN命令参数详解(一)

2014-11-24 15:36:18 · 作者: · 浏览: 0
MYSQL入门学习之十八:MYSQLADMIN命令参数详解
相关链接:
MYSQL入门学习之一:基本操作
http://www.2cto.com/database/201212/173868.html
MYSQL入门学习之二:使用正则表达式搜索
http://www.2cto.com/database/201212/173869.html
MYSQL入门学习之三:全文本搜索
http://www.2cto.com/database/201212/173873.html
MYSQL入门学习之四:MYSQL的数据类型
http://www.2cto.com/database/201212/175536.html
MYSQL入门学习之五:MYSQL的字符集
http://www.2cto.com/database/201212/175541.html
MYSQL入门学习之六:MYSQL的运算符
http://www.2cto.com/database/201212/175862.html
MYSQL入门学习之七:MYSQL常用函数
http://www.2cto.com/database/201212/175864.html
MYSQL入门学习之八: 数据库及表的基本操作
http://www.2cto.com/database/201212/175867. html
MYSQL入门学习之九:索引的简单操作
http://www.2cto.com/database/201212/176772.html
MYSQL入门学习之十:视图的基本操作
http://www.2cto.com/database/201212/176775.html
MYSQL入门学习之十一:触发器的基本操作
http://www.2cto.com/database/201212/176781.html
MYSQL入门学习之十二:存储过程的基本操作
http://www.2cto.com/database/201212/177380.html
MYSQL入门学习之十三:自定义函数的基本操作
http://www.2cto.com/database/201212/177382.html
MYSQL入门学习之十四:游标的基本操作
http://www.2cto.com/database/201212/177384.html
MYSQL入门学习之十五:事务处理的基本操作
http://www.2cto.com/database/201212/177385.html
MYSQL入门学习之十六:MYSQL命令参数详解
http://www.2cto.com/database/201212/178079.html
mysqladmin工具主要用来对数据库做一些简单的操作,以及显示服务器状态等。其使用格式如下: www.2cto.com
mysqladmin [option] command [command option] command ......
在命令行中输入mysqladmin - ,打印出如下帮助信息
[sql]
C:\Users\qxl>mysqladmin --help
mysqladmin Ver 8.42 Distrib 5.1.28-rc, for Win32 on ia32
Copyright (C) 2000-2006 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Administration program for the mysqld daemon.
Usage: mysqladmin [OPTIONS] command command....
-c, --count=# Number of iterations to make. This works with -i
(--sleep) only.
--debug-check Check memory and open file usage at exit .
--debug-info Print some debug info at exit.
-f, --force Don't ask for confirmation on drop database; with
multiple commands, continue even if an error occurs.
-C, --compress Use compression in server/client protocol.
--character-sets-dir=name
Directory where character sets are.
--default-character-set=name
Set the default character set.
- , --help Display this help and exit.
-h, --host=name Connect to host.
-b, --no-beep Turn off beep on error.
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty.
-W, --pipe Use named pipes to connect to server.
-P, --port=# Port number to use for connection or 0 for default to, in
order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/services, built-in default (3306).
--protocol=name The protocol of connection (tcp,socket,pipe,memory).
-r, --relative Show difference between current and previous values when
used with -i. Currently works only with extended-status.
-O, --set-variable=name
Change the value of a variable