mysql - Can't Use --login-path to Login on Mac -


my mysql version 5.7.13 , mac 10.11.16. tried login database using mysql config editor in terminal.

i set client info , using below command login.

mysql --login-path=localuser 

somehow, terminal gave me error...

mysql: [error] unknown variable 'login-path=localuser' 

is there possible way solve this? thank you!

it seems missing mysql-config-editor once have installed need configure login path, command simillar this:

mysql_config_editor set --login-path=storedpasswordkey --host=localhost --user=root --password

may didn't install correctly mysql. try using installing official source : https://dev.mysql.com/downloads/mysql/5.5.html

or may didn't install mysql utilities correctly. try installing them https://dev.mysql.com/downloads/utilities .



on debian based system can do:

apt-get install libmysqlclient-dev

according http://bugs.mysql.com/bug.php?id=73670 , issue experiencing known bug debian, hope steps above can resolve issue, more details on subject can find on http://dev.mysql.com/doc/refman/5.7/en/mysql-config-editor.html

if have installed tools correctly , still doesn't work try submiting bug http://bugs.mysql.com/


Comments