Quantcast
Channel: MySQL Forums - Utilities
Viewing all articles
Browse latest Browse all 380

Creating a .mylogin.cnf file (no replies)

$
0
0
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?

Viewing all articles
Browse latest Browse all 380

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>