MySQL Forums
Forum List  »  MySQL Workbench

Re: 1045 Access denied ODBC@localhost using Windows Task Scheduler
Posted by: Dick Vandenberg
Date: June 27, 2017 01:19PM

And one more thing...

Another requirement is that the SYSTEM user environment variables must
have an entry APPDATA that points to C:\User\name of your taskrunner\AppData\Roaming.
This variable can be set by right-clicking on the Windows start icon,
selecting System, Advanced System Settings, and clicking the Environment
Variables button.

This is so that the offline task can find the .mylogin.cnf file that is in %APPDATA%\MySQL which contains the 'user'@'localhost' and password settings that you configured with MySQL_config_editor.

Options: ReplyQuote

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.