MySQL Forums
Forum List  »  Connector/Node.js

Re: No Node.js Access To MySQL Community Database . . .
Posted by: Kon Tiki
Date: November 26, 2021 09:19AM

Thanks for response.
I did use another MySQL user with lesser privileges but got the same non-response.
If you don't mind, I'll defer use of password reading from a secure external source till this connection issue is sorted!

A log I inserted in the npm 'mysql' module is printed to the console.
But thereafter the mysql module delegates connection creation to the module 'net' within Node.js' libuv library. Source code is available for the 'net' module but core modules like 'net.js' are precompiled into C, as far as I know, in Node installations. So I can't put logs in this module.

At any rate there is a failure to connect and one without a useful error message.
As you suggest, it's likely to be MySQL rebuffing a connection rather than a Node.js issue.

Options: ReplyQuote

Written By
Re: No Node.js Access To MySQL Community Database . . .
November 26, 2021 09:19AM

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.