[email protected] ~/code/node_mysql_ssl
└─┬ [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ ├── [email protected]
│ └── [email protected]
└── [email protected]
$npm -v
4.1.2
$ node -v
v7.7.2
$ node node_mysql_ssl.js
Error while performing Query., err: Error: MySQL server is requesting the old and insecure pre-4.1 auth mechanism.Upgrade the user password or use the {insecureAuth: true} option.