webdevops / clitools

:wrench: CliTools for Docker, PHP / MySQL development, debugging and synchonization
GNU General Public License v3.0
84 stars 13 forks source link

Possibility to add passwords (e.g. db pw) in clisync.yml encrypted? #81

Closed josefglatz closed 8 years ago

mblaschke commented 8 years ago

Because clitools needs them unencrypted the encryption whould be some sort of rot13 (not really usefull).

Better way would be to remove username and passwort for mysql and setup a .my.cnf on the foreign server:

[client]
host=localhost
user=root
password=dev

[mysql]
host=localhost
user=root
password=dev
default-character-set=utf8
local-infile=1
show-warnings
auto-rehash
sigint-ignore
reconnect

[mysqldump]
host=localhost
user=root
password=dev