Rui Quelhas

Results 30 comments of Rui Quelhas

Are you using `'myNewPassword'` as the value of the `password` property when you create the client connection with this Node.js driver? Because that error usually means you are using a...

In your code, assuming it is verbatim, as I've alluded before, the passwords don't match. You update the `root` password on the server to `myNewPassword` with the following command: ```sql...

@sanjaypradeep are you sure it is the same error? Because if it works with the CLI then I would say the issue is probably related to the authentication plugin being...

To address your points. Regarding the first one, I've missed those tests (sorry), but as far as I can tell there is no sane way to use RSA public key...

I'm using `crypto.publicEncrypt()` which was added in `v0.11.14`, and it uses native bindings which I assume were also added around that time. There are some libraries on npm (e.g. [ursa](https://github.com/JoshKaufman/ursa)...

@dougwilson what's your preference about the issue I mentioned? Do you want me to add the workaround for older node.js versions or do you think it's better to have a...

Ok. Just to be sure, are you talking about sniffing the Node.js version string, MySQL version string, or both? Because we have two different issues right now. Supporting MySQL 8.0.4...

Right. However, in this case we would be sort of "whitelisting" MySQL 8.0.4 specifically. I don't think MariaDB has this new authentication plugin (enabled by default or not), but I'm...

By the way, just to be clear, there was a straight jump from 8.0.4 (last RC) to 8.0.11 (GA). https://mysqlrelease.com/2018/03/mysql-8-0-it-goes-to-11/

@dougwilson I've kept the option for providing a custom key padding, to allow users to exceptionally connect to a MySQL `8.0.4 RC` server. In any case, the default value is...