mysqldump: [ERROR] unknown variable 'database=test'.
2024-10-20 04:40:24
背景:
导出数据库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.
最新文章
- [Quartz笔记]玩转定时调度
- Apache RewriteHTTPToHTTPS
- MVC5-9 今天讲三个Descriptor
- loj1011 状态压缩
- HTML5入门1---Canvas画布
- 应付描述性弹性域 Description Flexfield
- openvpn环境搭建
- iOS 之 支付
- window10上登录Oracle时提示ORA-12546:Permission denied
- 使用Fiddler改变线上js文件的引用路径
- HBase压缩
- linux 远程复制 scp
- git执行cherry-pick时修改提交信息
- 前端ajax技术之跨域问题解决
- 023合并K个链表并排序
- Luogu P3294 【[SCOI2016]背单词】
- 安装psycopg2时出错:Error: pg_config executable not found.
- OpenStack平台上,windows云主机可以ping通百度但是无法打开网页,部分其它网页可以打开
- pre强制 自动换行
- Python 实现多元线性回归预测
热门文章
- 推荐一个学习SQL Server基本语法及其他编程的网站
- inotify+rsync实时同步备份nfs
- linux centos 6.x 装机后基本优化
- node.js报错:Cannot find module 'xxx'的解决办法
- FL Studio里一起安装的ASIO4ALL有什么用?
- Folx好用的下载功能介绍
- Elasticsearch 理解mapping中的store属性
- 对数组进行排序成最小的,相当于自己实现了一次String的compareTo函数,不过是另类的。
- SpringBoot 实现微信推送模板
- rest-framework 解析器