iis服务器助手广告广告
返回顶部
首页 > 资讯 > 数据库 >mysqlcheck的常用语法总结
  • 516
分享到

mysqlcheck的常用语法总结

2024-04-02 19:04:59 516人浏览 八月长安
摘要

本篇内容介绍了“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的常用语法总结”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程网网站,小编将为大家输出更多高质量的实用文章!

您可能感兴趣的文档:

--结束END--

本文标题: mysqlcheck的常用语法总结

本文链接: https://www.lsjlt.com/news/59226.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • mysqlcheck的常用语法总结
    本篇内容介绍了“mysqlcheck的常用语法总结”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成! ...
    99+
    2024-04-02
  • PHP的常用语法总结
    这篇文章主要介绍“PHP的常用语法总结”,在日常操作中,相信很多人在PHP的常用语法总结问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”PHP的常用语法总结”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!PH...
    99+
    2023-06-17
  • 常用的CSS缩写语法总结
    这篇文章主要介绍“常用的CSS缩写语法总结”,在日常操作中,相信很多人在常用的CSS缩写语法总结问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”常用的CSS缩写语法总结”的疑惑...
    99+
    2024-04-02
  • 常用的sql语句总结
    这篇文章主要介绍“常用的sql语句总结”,在日常操作中,相信很多人在常用的sql语句总结问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”常用的sql语句总结”的疑惑有所帮助!接...
    99+
    2022-11-30
    sql
  • Go语言中常用的基础方法总结
    目录字符串1.使用正则表达式验证字符串2.字符串和数字的相互转换3.格式化字符串时间1.字符串和时间的相互转换2.时间的比较切片映射接口延迟函数指针结构体并发字符串 1.使用正则表达...
    99+
    2024-04-02
  • Moment.js常见用法总结
    Moment.js是一个轻量级的js时间处理类库,其使用简单,方便了日常开发中对时间的操作,提高了开发效率。 引用Moment.js npm install moment 常用的方...
    99+
    2024-04-02
  • 总结Python常用的魔法方法
    目录一、算数运算符的魔法方法二、反运算相关的魔法方法三、增量赋值运算四、一元操作符一、算数运算符的魔法方法 python2.2以后,对类和类型进行了统一,做法就是讲int(...
    99+
    2024-04-02
  • RedisTemplate常用方法总结
    目录String类型Hash类型 List类型 Set类型 zSet类型 参考: Redis常用的数据类型: String Hash List Se...
    99+
    2024-04-02
  • MongoDB中的常用语句总结大全
    前言 MongoDB与MySQL基本语句还是有很大区别的,今天再介绍一下MongoDB的一些常用的基本语句,下面话不多说了,来一起看看详细的介绍吧 MOngoDB  删除语句 delete()删...
    99+
    2024-04-02
  • 数组常用方法总结
    数组常用方法总结 一.获取数组长度1.1 使用length 二.数组转字符串2.1 Arrays是什么2.2 使用toString() 三. 数组拷贝3.1 使用 copyOf()3.2 copyOfRange() 四....
    99+
    2023-08-30
    java 排序算法 开发语言
  • python语法总结
    正确处理中文,可以在#!/usr/bin/python下面加上 一行# -*- coding: utf-8 -*-列表list。用方括号list1=[1,'2',3,[a,b,c]]尾部添加元素list1.append('python')l...
    99+
    2023-01-31
    语法 python
  • JavaScript中Object的常用方法总结
    目录1、Object.keys方法2、Object.values()方法3、Object.create()4、Object.hasOwnProperty()方法5、Object.ge...
    99+
    2023-02-10
    JavaScript Object常用方法 JavaScript Object方法 JavaScript Object
  • R语言中data.frame的常用操作总结
    前言:近段时间学习R语言用到最多的数据格式就是data.frame,现对data.frame常用操作进行总结,其中函数大部分来自dplyr包,该包由Hadley Wickham所作,...
    99+
    2024-04-02
  • SpringData JPA的常用语法汇总
    目录前言1.方法方式方法说明例子2.注解方式注解说明例子多表联查,且多条件、分页查询怎么写?小结总结前言 SpringData JPA常用有两种写法,一个是用Jpa自带方法进行CRU...
    99+
    2024-04-02
  • python Pool常用函数用法总结
    1、说明 apply_async(func[,args[,kwds]):使用非堵塞调用func(并行执行,堵塞方式必须等待上一个过程退出才能执行下一个过程),args是传输给func...
    99+
    2024-04-02
  • Java中String类的常用方法总结
    目录概述特点使用步骤常用方法判断功能的方法获取功能的方法转换功能的方法分割功能的方法概述 java.lang.String 类代表字符串。Java程序中所有的字符串文字(例如&quo...
    99+
    2022-11-13
    Java String类常用方法 Java String类 方法 Java String类
  • Vue中的常用指令及用法总结
    首先来聊聊Vue框架,Vue是一套用于构建用户界面的渐进式的JavaScript框架,对于初学者来说是非常友好的 , Vue的虚拟Dom , 数据双向绑定 , 都使开发者可以快速上手...
    99+
    2024-04-02
  • 【总结】PHP中常用查询语句及其使用方法
    在Web开发中,常常需要从数据库中查询数据并以特定格式呈现给用户。PHP语言是一种常用的Web编程语言,也是处理数据库查询的重要工具之一。本文将介绍PHP中常用的查询语句及其使用方法。一、SELECT语句SELECT语句用于从数据库...
    99+
    2023-05-14
    php 数据库
  • PHP中常用的魔术方法总结
    目录构造方法 / __construct析构方法 / __destruct克隆方法 / __clone非静态调用方法 / __call静态调用方法 / __callStatic打印方...
    99+
    2024-04-02
  • Go的基本语法总结
    这篇文章主要讲解了“Go的基本语法总结”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“Go的基本语法总结”吧!目录 变量与常量Golang 中的标识符与关键字Golang 中的变量Golang...
    99+
    2023-06-20
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作