当前位置:网站首页>mysqldump导出提示:mysqldump [Warning] Using a password on the command line interface can be insecure
mysqldump导出提示:mysqldump [Warning] Using a password on the command line interface can be insecure
2022-08-03 09:15:00 【Ajekseg】
mysqldump: [Warning] Using a password on the command line interface can be insecure
这个问题 ,应该是 mysql 5.6 6.7以上出现的;
修改配置文件/etc/my.cnf
vim /etc/my.cnf
添加
[mysqldump]
user=root
password="mima"
如果没有 [mysqldump] 片段 则需要添加
user=mysql用户名
password=“密码”
---------------
然后 ,mysqldump 后边可以不输入 用户 密码,直接 执行
mysqldump 库名 表名> /data/bak/表_2022-06-09.sql
------------
参考:mysql: [Warning] Using a password on the command line interface can be insecure 解决方法 - JavaShuo
先自我介绍一下,小编13年上师交大毕业,曾经在小公司待过,去过华为OPPO等大厂,18年进入阿里,直到现在。深知大多数初中级java工程师,想要升技能,往往是需要自己摸索成长或是报班学习,但对于培训机构动则近万元的学费,着实压力不小。自己不成体系的自学效率很低又漫长,而且容易碰到天花板技术停止不前。因此我收集了一份《java开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
猜你喜欢
随机推荐
【字节面试】word2vector输出多少个类别
CSP-S2019 Day2
获取JDcookie的方法
110 MySQL interview questions and answers (continuous updates)
bihashSummary
Flink Yarn Per Job - 提交应用
Industry SaaS Microservice Stability Guarantee Actual Combat
【微信小程序】底部有安全距离,适配iphone X等机型的解决方案
命令行加载特效 【cli-spinner.js】 实用教程
dflow入门2——Slices
The display of the article list and the basics of creating articles and article details
多线程下的单例模式
Machine learning (formula derivation and code implementation)--sklearn machine learning library
机器学习(公式推导与代码实现)--sklearn机器学习库
HCIA实验(07)
LINGO 18.0 software installation package download and installation tutorial
MySQL2
Validate floating point input
兔起鹘落全端涵盖,Go lang1.18入门精炼教程,由白丁入鸿儒,全平台(Sublime 4)Go lang开发环境搭建EP00
Redis分布式锁