zoukankan      html  css  js  c++  java
  • MySQL快捷键及帮助

    1.mysql连接后快捷键

    ?			#帮助
    c			#终止当前命令
    
    			#重连数据库
    d			#修改命令结束符
    e			#写入文件,同时执行多条命令
    G			#垂直显示结果
    q			#退出数据库
    g			#命令结束
    h			#帮助
    				#取消写入文件
    T			#将执行过程与结果写入一个文件
    p			#打印一次命令
    R			#修改命令提示符
    source  (.) #读取sql文件
    status  (s) #查看数据库状态
    system  (!) #在数据库里执行命令行命令
    use     (u) #切换数据库
    
    prompt    (R) Change your mysql prompt.
    nopager   (
    ) Disable pager, print to stdout.
    pager     (P) Set PAGER [to_pager]. Print the query results via PAGER.
    charset   (C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.
    warnings  (W) Show warnings after every statement.
    nowarning (w) Don't show warnings after every statement.
    

    2.help命令

    mysql> help
    mysql> help contents
    mysql> help select
    mysql> help create
    mysql> help create user
    mysql> help status
    mysql> help show
    
  • 相关阅读:
    最近有点烦
    好累啊
    几招有效防电脑辐射
    发两张搞笑图片
    几招有效防电脑辐射
    English Study
    人脸识别方法(转载)
    小常识
    23、C++ Primer 4th 笔记,面向对象编程(1)
    18、C++ Primer 4th 笔记,复制控制
  • 原文地址:https://www.cnblogs.com/tcy1/p/13303522.html
Copyright © 2011-2022 走看看