Creating a .mylogin.cnf file
Posted by:
H D
Date: September 10, 2019 10:13AM
Hi, I am new to MySQL (mysql 8.0.17, macOS 10.14), hopefully this is the right place for my question...
Wanted to create login-path to use with the mysql command line client. So normally I start with
mysql -u root -password
After typing the password everything is ok then and I am logged in. Now I have created the .mylogin.cnf file with mysql_config_editor and created the [client] login-path with same user and the correct password (tried several times to exclude typos). But starting mysql (now without any params/options) gives this:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
So, I have no idea what could be wrong??? (I guarantee the password was entered correctly, recreated config file several times) Anyone same issue? Any idea?
Subject
Written By
Posted
Creating a .mylogin.cnf file
September 10, 2019 10:13AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.