public marks

PUBLIC MARKS from dzc with tags shell & mysql

09 September 2016 09:15

warning messages using mysql from within Terminal

use mysql_config_editor (user/pass are saved encrypted in your home/myshellusername/.mylogin.cnf) - mysql --login-path=local (Remember that the --login-path has to come before all other arguments.)

09 September 2016 09:00

"mysql --login-path=local" instead of "mysql -u username -p pass"

mysql_config_editor set --login-path=local --host=localhost --user=db_user --password