| back_log | |
| connect_timeout | |
| basedir | /var/local/ |
| datadir | /usr/local/var/ |
…
在Windows上输出可能看上去像这样
c:\\\\mysqladmin variables
| variable_name | Value |
| back_log | |
| connect_timeout | |
| basedir | c:\\\\mysql\\\\ |
| datadir | c:\\\\mysql\\\\data\\\\ |
…
如果你有多个服务器在运行它们将在不同的TCP/IP端口或套接字上监听通过提供连接服务器正在监听的端口或套接字的port或socket选项你可以轮流获得它们每一个的数据目录信息
%msqladmin port=port_name variables
%mysqladmin socket=/path/to/socket variables
[] [] [] [] [] [] [] [] [] []