Question

I am trying to import to a schema in MySQL workbench but get the following error:

ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)

I had a similar problem trying to connect originally to the schema and solved it by following the fixes in this post but I can't do this import still. I can now access the schema fine, but when I try to do the import it fails with this same error.

Was it helpful?

Solution

Its not a bug, if you use your user account password with old hashing algorithm. you can try with new account with new algorithm password by following step -

  1. set session old_passwords = 'OFF';
  2. create user 'test' IDENTIFIED BY 'TESTPASS';

Now you can connect with this account and try to import. I hope it will help to you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top