背景:
导出数据库test库的test表数据出现报错信息:mysqldump: [ERROR] unknown variable 'database=test'. 原来是my.cnf参数文件配置了以下内容:
[client]
user=test
port=3306
database=test 将database参数注释掉,就不再出现报错。 [root@node01 tmp]# mysqldump -utest -pmysql test test > /tmp/ttt.sql
mysqldump: [Warning] Using a password on the command line interface can be insecure.
Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transactions, even those that changed suppressed parts of the database. If you don't want to restore GTIDs, pass --set-gtid-purged=OFF. To make a complete dump, pass --all-databases --triggers --routines --events.

  

最新文章

  1. [Quartz笔记]玩转定时调度
  2. Apache RewriteHTTPToHTTPS
  3. MVC5-9 今天讲三个Descriptor
  4. loj1011 状态压缩
  5. HTML5入门1---Canvas画布
  6. 应付描述性弹性域 Description Flexfield
  7. openvpn环境搭建
  8. iOS 之 支付
  9. window10上登录Oracle时提示ORA-12546:Permission denied
  10. 使用Fiddler改变线上js文件的引用路径
  11. HBase压缩
  12. linux 远程复制 scp
  13. git执行cherry-pick时修改提交信息
  14. 前端ajax技术之跨域问题解决
  15. 023合并K个链表并排序
  16. Luogu P3294 【[SCOI2016]背单词】
  17. 安装psycopg2时出错:Error: pg_config executable not found.
  18. OpenStack平台上,windows云主机可以ping通百度但是无法打开网页,部分其它网页可以打开
  19. pre强制 自动换行
  20. Python 实现多元线性回归预测

热门文章

  1. 推荐一个学习SQL Server基本语法及其他编程的网站
  2. inotify+rsync实时同步备份nfs
  3. linux centos 6.x 装机后基本优化
  4. node.js报错:Cannot find module 'xxx'的解决办法
  5. FL Studio里一起安装的ASIO4ALL有什么用?
  6. Folx好用的下载功能介绍
  7. Elasticsearch 理解mapping中的store属性
  8. 对数组进行排序成最小的,相当于自己实现了一次String的compareTo函数,不过是另类的。
  9. SpringBoot 实现微信推送模板
  10. rest-framework 解析器