Try disabling in your env and login to your database and check the correct setting. Then you may try setting the env.

Did you initialize the env before login?