How to access (use) passwords stored in MySQL myLogin.cnf

209 Views Asked by At

I need to access the password stored in myLogin.cnf from a batch script and a desktop application's connection string. Is this possible, and if so, how would I go about it? My scripts and application work fine with hardcoded passwords, but...

I've tried using defaults-extra-file in my.ini, quotes around the password when entering mysql_config_editor set command, and other suggestions I've read, all to no avail.

My Setup is: Windows 10 running MySQL 8.0 (No Install) Thank you

0

There are 0 best solutions below