Home | 简体中文 | 繁体中文 | 杂文 | Github | 知乎专栏 | 51CTO学院 | CSDN程序员研修院 | OSChina 博客 | 腾讯云社区 | 阿里云栖社区 | Facebook | Linkedin | Youtube | 打赏(Donations) | About
知乎专栏多维度架构

13.30. mysqldump: [Warning] Using a password on the command line interface can be insecure.

		
mysqldump: [Warning] Using a password on the command line interface can be insecure.		
		
		

		
vim ~/.my.cnf 

[mysqldump]
user=root
password=123456
		
		
		
[root@netkiller neo]# mysqldump -h 192.168.30.40 neo
[root@netkiller neo]# mysqldump --defaults-extra-file=~/.my.cnf netkiller > netkiller.sql