博客
关于我
mysql命令行下的--tee选项功能
阅读量:138 次
发布时间:2019-02-26

本文共 577 字,大约阅读时间需要 1 分钟。

?MySQL?????????????????????????????????????????????????????????

??MySQL???????

?MySQL???????????--tee?????????????????????????????????????????

????

  • ?MySQL???????????

    mysql -u [username] -ppassword --tee=/path/to/client_mysql.log

    ???/path/to/client_mysql.log????????????

  • ???????my.cnf??

    ???????????????????????/etc/my.cnf????????

    ??????????[client]?????????

    [client]tee=/tmp/client_mysql.log

    ????????MySQL?????????

  • ????

    • ???????????????????
    • ??????????????????????????
    • ???????????????????MySQL?????????????

    ??????????????MySQL??????????????????????????????????????????????????????

    转载地址:http://xgsf.baihongyu.com/

    你可能感兴趣的文章
    POSIX与程序可移植性
    查看>>
    posix多线程有感--自旋锁
    查看>>
    SpringBoot中集成海康威视SDK实现布防报警数据上传/交通违章图片上传并在linux上部署(附示例代码资源)
    查看>>
    POSIX标准和XSI扩展
    查看>>
    post install error,please remove node_moules before retry
    查看>>
    PostGIS中获取所有EPSG的编码以及对应Proj4字符串
    查看>>
    PostGIS在Windows上的下载与安装
    查看>>
    postgis数据库优化_postgresql 性能优化
    查看>>
    Postgres Docker版本安装mysql_fdw 插件
    查看>>
    Postgres invalid command \N数据恢复处理
    查看>>
    Postgres like 模糊查询匹配集合
    查看>>
    Postgres 自定义函数内实现 in 操作符的递归查询
    查看>>
    Postgres 返回当前时间前后指定天数的集合
    查看>>
    postgres--vacuum
    查看>>
    postgres--wal
    查看>>
    postgres--流复制
    查看>>
    postgres10配置huge_pages
    查看>>
    PostgreSQL 10.0 preview 变化 - pg_xlog,pg_clog,pg_log目录更名为pg_wal,pg_xact,log
    查看>>
    PostgreSQL 10.1 手册_部分 II. SQL 语言_第 15章 并行查询_15.2. 何时会用到并行查询?...
    查看>>
    PostgreSQL 10.1 手册_部分 II. SQL 语言_第 9 章 函数和操作符_9.23. 行和数组比较
    查看>>