1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
Dave Conway-Jones
fea47843d7
Change mysql library to mysql2 as it is more maintained and support latest mysql authention (#862)
* Use mysql2 lib

* fix pool on acquire event cause MaxListenersExceededWarning (#854)

before: every query need to register pool on acquire event to specify queryFormat based on payload type
will cause MaxListenersExceededWarning

after:
from https://www.npmjs.com/package/mysql#pooling-connections

pool.query is a shortcut for pool.getConnection() -> connection.query() -> connection.release()

so use pool.getConnection and then
set queryFormat before query method be called

Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>

* fix mysql require

* Add decimalNumbers flag true to mysql beta

* mysql remove old Timeout option, clarify timezone options

* add mysqlConnectionLimit settings option.

Co-authored-by: saknarak <saknarak@gmail.com>
2022-01-05 10:56:14 +00:00
Wataru Sato
b95ae5dc63
Add Japanese translations for mysql Node (#841) 2021-10-27 13:42:27 +01:00
heikokue
0772b545ea
added i18n help files (#766) 2021-03-12 13:17:23 +00:00
Dave Conway-Jones
4641d10beb
mysql: add charset option (defaults as-is to old UTF8) 2020-04-18 18:03:59 +01:00
Dave Conway-Jones
e3e6c41030
Add Name field to mysql server config so can be made unique
to close #635
2020-03-20 14:59:08 +00:00
Dave Conway-Jones
eb9d379014
bump mysql package and lib 2020-03-01 17:06:22 +00:00
Dave Conway-Jones
a7247e898a Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
Dave Conway-Jones
86049c20cb update storage nodes info style 2016-03-02 13:27:52 +00:00
dceejay
5982da8495 Add bind capability to sqlite and mysql nodes
Thanks to Scott Penrose for the patch.
2015-01-26 10:57:13 +00:00
Nick O'Leary
b7a1193d32 Update mysql to use credentials system
Fixes #86
2015-01-19 09:46:29 +00:00
Dave C-J
bad0142f61 Correct timezone param in mysql node 2014-12-12 23:16:40 +00:00
Dave C-J
dac2c7e778 Update MySQL node - fa icons, add timezone, make npm installable 2014-07-04 17:26:20 +01:00
Nicholas O'Leary
39b849ded8 Move Mysql node credentials to credentials file
We must not store passwords in the regular flows file as this gets exchanged with the browser regularly and would leave things vulnerable.

The credentials mechanism is there to all a write-once-don't-need-to-read approach that allows the runtime access to the credentials without exposing them to the browser.
2013-11-22 20:34:57 +00:00
Dave C-J
39da31eaaa Added proper database reconnects... and more error handling, that should help address Issue #87 in main node-red Issue list. 2013-11-22 10:24:08 +00:00
Dave C-J
793fd3c7fd Added list of Nodes to he ReadME so people can see what's there without digging... Bunch of cleanups to node-red-nodes... mainly just removing tabs -> spaces and stuff. No code changes... 2013-11-10 17:01:19 +00:00
Dave C-J
5e67f41114 Add rawserial, mpd, mysql and swearfilter nodes. 2013-11-03 21:29:20 +00:00