mysql5.0 Using a password on the command line interface can be insecure.最简单的解决办法
今天在用MySQL导出数据库的时候,我用mysqldump往出导,结果出现了下面的警告消息。
mysqldump -h localhost -u root -p密码 visualization roadcd>roadcd.sql
我在网上查了半天,才知道MySQL认为在执行命令后语句里面带有密码的话这样是不安全的。我看大家都说修改my.cnf文件,但我的MySQL数据库是免安装的,怎么也找不到my.cnf。我就发现了一个超简单的方法,那就是在命令里面不输入密码。如下:
mysqldump -h localhost -u root -p visualization roadcd>roadcd.sql
然后它会提示让你输入密码,当你输入密码,敲一下回车,数据库就成功导出来了。
导出的数据库一般就在C:\Users\[用户名]目录下。
原文链接: http://blog.csdn.net/wzgl__wh/article/details/52588918
mysql5.0 Using a password on the command line interface can be insecure.最简单的解决办法相关推荐
- mysql备份时过滤掉某些库 以及 去掉Warning: Using a password on the command line interface can be insecure.提示信息...
在对mysql进行完整备份时使用--all-database参数 # mysqldump -u root -h localhost -p --all-database > /root/all.s ...
- mysql: [Warning] Using a password on the command line interface can be insecure.解决方法
1.在使用mysql命令的时候,出现问题: https://www.cndba.cn/hbhe0316/article/22635 https://www.cndba.cn/hbhe0316/arti ...
- [Warning] Using a password on the command line interface can be insecure.
mysql: [Warning] Using a password on the command line interface can be insecure. 来自TMySQL用户,包括很多开发和G ...
- 去掉Warning: Using a password on the command line interface can be insecure.
MySQL5.6之后的版本在通过客户端连接或者备份时时都会有出现如下的一个警告: Warning: Using a password on the command line interface can ...
- MySQL 基准测试(mysqlslap)出现 Using a password on the command line interface can be insecure 警告
问题描述:在使用 mysqlslap 进行基准测试时,出现警告 mysqlslap: [Warning] Using a password on the command line interface ...
- 已解决:mysql: [Warning] Using a password on the command line interface can be insecure.
在执行命令时候报错 mysql: [Warning] Using a password on the command line interface can be insecure. 解决 将密码改为后 ...
- 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. ...
- 登录mysql时遇到了:mysql: [Warning] Using a password on the command line interface can be insecure.
登录mysql时遇到了:mysql: [Warning] Using a password on the command line interface can be insecure. 问题: [ro ...
- mysql: “Warning: Using a password on the command line interface can be insecure.“ 解决方法
mysql: "Warning: Using a password on the command line interface can be insecure." 解决方法 参考文 ...
最新文章
- 使用js冒泡实现点击空白处关闭弹窗
- 用Java2D画出树的结构图
- 【Android 应用开发】Android 返回堆栈管理 ( 默认启动模式 | 栈顶复用启动模式 | 栈内复用启动模式 | 单实例启动模式 | CLEAR_TOP 标识 )
- java 用来查找输出的函数_Solr复杂查询一:函数查询
- C++ static与const用法详解
- win7系统5分钟自动注销的解决方法
- 判断用户Input输入的事件来进行登陆
- vue-cli配置移动端自适应
- Python Flask Web 第十一课 —— 使用 Flask-SQLAlchemy 管理数据库
- 直接插入排序和冒泡排序有什么区别 直接插入排序和冒泡排序有哪些不同
- js 实现pdf在线阅读
- VBA实战技巧精粹018:如何汇总数据
- 淘宝客商家如何加入内容商品库?
- nanomsg 高性能通信库_NanoMsg框架|NanoMsg的简介
- WebApp实时开源框架Clouda入门使用与记录
- [转] ubuntu上安装 ibus Google拼音输入法
- npm -i 与npm install -s与-d的区别
- NUST 2009-8
- vue php聊天室,实时聊天室:基于Laravel+Pusher+Vue通过事件广播实现
- nodejs01——安装及使用、服务端及客户端、commonjs规范、fs模块的使用(文件操作及目录操作)、stream、buffer、WebServer、端口、动态资源及静态资源、头信息、请求方式