当前位置:网站首页>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-07-30 20:14:00 【bluepad】
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开发全套学习资料》送给大家,初衷也很简单,就是希望帮助到想自学又不知道该从何学起的朋友,同时减轻大家的负担。添加下方名片,即可获取全套学习资料哦
边栏推荐
- These services can't ali interview?Then don't go to, the basic notification, etc
- Based on the face of the common expression recognition - model building, training and testing
- Cesium loads offline maps and offline terrain
- 普通的int main(){}没有写return 0;会怎么样?
- 多线程获取官方汇率
- 是对称矩阵的对角化
- 多线程的互斥锁应用RAII机制
- el-input can only input integers (including positive numbers, negative numbers, 0) or only integers (including positive numbers, negative numbers, 0) and decimals
- “数字化重构系统,搞定 CEO 是第一步”
- 明解C语言第五章习题
猜你喜欢
随机推荐
MySQL eight-part text recitation version
使用MULTISET来比较数据集的实例介绍
Cesium加载离线地图和离线地形
PPT如何开启演讲者模式?PPT开启演讲者模式的方法
无法正常访问服务器
推荐系统-模型:FNN模型(FM+MLP=FNN)
MySQL performance optimization (hardware, system configuration, table structure, SQL statements)
银行数据资产转换能力弱?思迈特软件助力解决银行困境
湖仓一体电商项目(四):项目数据种类与采集
SQLyog注释 添加 撤销 快捷键
MySQL数据库之JDBC编程
ERROR 1045 (28000) Access denied for user ‘root‘@‘localhost‘解决方法
我是一名阿里在职9年软件测试工程师,我的经历也许能帮到处于迷茫期的你
PR视频剪辑软件教程
[NISACTF 2022]下
基于人脸的常见表情识别——模型搭建、训练与测试
推荐系统:冷启动问题【用户冷启动、物品冷启动、系统冷启动】
Zabbix部署与练习
MySQL mass production of data
肖特基二极管厂家ASEMI带你认识电路中的三大重要元器件