当前位置:网站首页>mysql(8.0.16版)命令及说明
mysql(8.0.16版)命令及说明
2022-07-28 10:55:00 【abolbee】
以下说明适用Server version: 8.0.16
所有文本命令必须在第一行,以“;”结尾
| 指令 | 说明 |
|---|---|
| \? | 获取帮助 |
| \c | 清除当前输入语句 |
| \r | 重新连接服务器,可选参数为db和host |
| \d | 设置语句分隔符 |
| \G | 向mysql服务器发送命令,垂直显示结果。 |
| \q | 退出 |
| \g | 发送指令 |
| \h | 显示帮助 |
| \t | 不要写入输出文件。 |
| \p | 打印当前命令 |
| \R | Change your mysql prompt. |
| \# | Rebuild completion hash. |
| \. | 执行SQL脚本文件,以文件名为参数。 |
| \s | 从服务器获取状态信息。 |
| \T | 设置outfile [to outfile]。将所有内容添加到给定的输出文件中。 |
| \u | 使用另一个数据库。以数据库名称作为参数 |
| \C) | 切换到另一个字符集,可能需要处理具有多字节字符集的binlog日志。 |
| \W | 在每个语句之后显示警告。 |
| \w | 每个语句后都不显示警告。 |
| \x | 清除会话。 |
边栏推荐
- [MySQL from introduction to proficiency] [advanced chapter] (IX) precautions for InnoDB's b+ tree index
- 【Gradle】This version of the JMH Gradle plugin requires Gradle 6+, you are using 6.6.
- Game theory 1. Introduction (basic concepts of combination games, confrontation search, bash games, Nim games)
- web安全入门-Radius协议应用
- Display line number under VIM command [easy to understand]
- 擦黑板特效表白H5源码+非常浪漫/附BGM
- const与指针的组合使用
- 「学习笔记」树状数组
- 使用 Terraform 在 AWS 上快速部署 MQTT 集群
- vim命令下显示行号[通俗易懂]
猜你喜欢

接口测试的作用

ripro9.0修正升级版+WP两款美化包+稀有插件

I use the applet container to improve the efficiency of mobile R & D by 5 times!

机器学习强基计划0-5:为什么学习的本质是泛化能力?

BC35 NB模块AT指令开发总结

Top ten application development trends from 2022 to 2023
微软安全团队发现一家利用Windows零日漏洞销售间谍软件的奥地利公司

CVPR2021 行人重识别/Person Re-identification 论文+开源代码汇总

擦黑板特效表白H5源码+非常浪漫/附BGM

什么样的知识付费系统功能,更有利于平台与讲师发展?
随机推荐
苹果手机iCloud钥匙串的加密缺陷
抖音程序员表白专用代码教程(如何玩抖音)
Leetcode:981. time based key value storage [trap of iteration for: on]
The solution of PHP sending mobile MAS SMS garbled code
const与指针的组合使用
[MySQL from introduction to proficiency] [advanced chapter] (IX) precautions for InnoDB's b+ tree index
18 diagrams, intuitive understanding of neural networks, manifolds and topologies
万字详解 Google Play 上架应用标准包格式 AAB
Three ways for Cortex-M kernel to manage global interrupts
Stacks and queues
R语言-用于非平衡数据集的一些度量指标
RHEL 6.4 installing SVN and Apache
Learning notes tree array
Display line number under VIM command [easy to understand]
Explanation of JDBC classes
机器学习强基计划0-5:为什么学习的本质是泛化能力?
PHP检测url网址链接是否正常可访问
Thinkphp5行为钩子Hook返回结果(数据)示例
ThinkPad指纹验证在win7无法使用的解决方法
栈和队列