On Monday, September 22, 2014 2:01:22 AM UTC-7, Sarah Kowalik wrote: > > Hi there, > > I'm trying to connect to an old database where I can't update the > password, but this isn't working with the sequel gem: > > Sequel::DatabaseConnectionError - Mysql::Error: Connection using old > (pre-4.1.1) authentication protocol refused (client option 'secure_auth' > enabled): > > Advice on the internet suggests to: Now, for the immediate error, this is > happening because the client has secure_auth set, but the user has an old > password. In order to login with the old password, the client must disable > secure_auth on the client side. How exactly you do this varies by which > client you're using. > > How can I do this? I can't find any documentation for sequel mentioning > this. >
The first thing you need to do is figure out how to connect using the underlying driver (the mysql gem in this case). If you can report how to do so here, I can probably tell you how to do so with Sequel. You could also try switching to the mysql2 adapter, and see if the problem exists there. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
