mysqlcheck的常用语法总结
发表于:2025-11-07 作者:千家信息网编辑
千家信息网最后更新 2025年11月07日,本篇内容介绍了"mysqlcheck的常用语法总结"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!以下
千家信息网最后更新 2025年11月07日mysqlcheck的常用语法总结
本篇内容介绍了"mysqlcheck的常用语法总结"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!
以下内容主要适用于mysql 5.6,5.5的版本可能有部分选项不可用。
通常使用该工具一般语法为:
| Format | Description | Introduced |
|---|---|---|
| --all-databases | Check all tables in all databases | |
| --all-in-1 | Execute a single statement for each database that names all the tables from that database | |
| --analyze | Analyze the tables | |
| --auto-repair | If a checked table is corrupted, automatically fix it | |
| --bind-address=ip_address | Use specified network interface to connect to MySQL Server | |
| --character-sets-dir=path | Directory where character sets are installed | |
| --check | Check the tables for errors | |
| --check-only-changed | Check only tables that have changed since the last check | |
| --check-upgrade | Invoke CHECK TABLE with the FOR UPGRADE option | |
| --compress | Compress all information sent between client and server | |
| --databases | Process all tables in the named databases | |
| --debug[=debug_options] | Write a debugging log | |
| --debug-check | Print debugging information when program exits | |
| --debug-info | Print debugging information, memory, and CPU statistics when program exits | |
| --default-auth=plugin | Authentication plugin to use | 5.6.2 |
| --default-character-set=charset_name | Specify default character set | |
| --defaults-extra-file=file_name | Read option file in addition to usual option files | |
| --defaults-file=file_name | Read only named option file | |
| --defaults-group-suffix=str | Option group suffix value | |
| --extended | Check and repair tables | |
| --fast | Check only tables that have not been closed properly | |
| --fix-db-names | Convert database names to 5.1 format | |
| --fix-table-names | Convert table names to 5.1 format | |
| --force | Continue even if an SQL error occurs | |
| --help | Display help message and exit | |
| --host=host_name | Connect to MySQL server on given host | |
| --login-path=name | Read login path options from .mylogin.cnf | 5.6.6 |
| --medium-check | Do a check that is faster than an --extended operation | |
| --no-defaults | Read no option files | |
| --optimize | Optimize the tables | |
| --password[=password] | Password to use when connecting to server | |
| --pipe | On Windows, connect to server using named pipe | |
| --plugin-dir=path | Directory where plugins are installed | 5.6.2 |
| --port=port_num | TCP/IP port number to use for connection | |
| --print-defaults | Print defaults | |
| --protocol=type | Connection protocol to use | |
| --quick | The fastest method of checking | |
| --repair | Perform a repair that can fix almost anything except unique keys that are not unique | |
| --secure-auth | Do not send passwords to the server in old (pre-4.1.1) format | 5.6.17 |
| --shared-memory-base-name=name | The name of shared memory to use for shared-memory connections | |
| --silent | Silent mode | |
| --skip-database=db_name | Omit this database from performed operations | 5.6.11 |
| --socket=path | For connections to localhost, the Unix socket file to use | |
| --ssl | Enable SSL for connection | |
| --ssl-ca=file_name | Path of file that contains list of trusted SSL CAs | |
| --ssl-capath=dir_name | Path of directory that contains trusted SSL CA certificates in PEM format | |
| --ssl-cert=file_name | Path of file that contains X509 certificate in PEM format | |
| --ssl-cipher=cipher_list | List of permitted ciphers to use for SSL encryption | |
| --ssl-crl=file_name | Path of file that contains certificate revocation lists | 5.6.3 |
| --ssl-crlpath=dir_name | Path of directory that contains certificate revocation list files | 5.6.3 |
| --ssl-key=file_name | Path of file that contains X509 key in PEM format | |
| --ssl-verify-server-cert | Verify server Common Name value in its certificate against host name used when connecting to server | |
| --tables | Overrides the --databases or -B option | |
| --use-frm | For repair operations on MyISAM tables | |
| --user=user_name, | MySQL user name to use when connecting to server | |
| --verbose | Verbose mode | |
| --version | Display version information and exit | |
| --write-binlog | Log ANALYZE, OPTIMIZE, REPAIR statements to binary log. --skip-write-binlog adds NO_WRITE_TO_BINLOG to these statements. |
"mysqlcheck的常用语法总结"的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注网站,小编将为大家输出更多高质量的实用文章!
语法
内容
常用
更多
知识
实用
学有所成
接下来
困境
实际
工具
情况
文章
案例
版本
编带
网站
行业
过程
部分
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
qvod网吧管理服务器
nas存储服务器最大支持硬盘
北京科维森网络技术
群晖的服务器安全吗
五区斩魔者服务器好不好
怎么验收服务器
南京中诚软件开发
王者全国巅峰是全服务器吗
税务行业软件开发
计算机网络技术的学啥
求生之路2国外服务器
广州有你网络技术
软件开发专业有什么前景
oracle中服务器进程实例
无线传感器网络技术有哪些
原神小米渠道服云服务器
宁夏浪潮服务器维修维保
数据库产生结果集
数据库跨天
网络安全 招股说明书
国际的棋牌游戏应用服务器
北京科维森网络技术
mysql创建数据库架构
中国电信网络技术
怎么给自己写的小说制作数据库
网络安全课程设计ppt
互联网母服务器
工程机械设备数据库
我的世界pvp练习服务器网易
宝鸡软件开发工资多少