TypeError: Cannot read property 'password' of undefined
at Query.connection.query (D:\express-learn\src\index.js:84:23)
at Query. (D:\express-learn\node_modules\mysql\lib\Connection.js:502:10)
at Query._callback (D:\express-learn\node_modules\mysql\lib\Connection.js:468:16)
at Query.Sequence.end (D:\express-learn\node_modules\mysql\lib\protocol\sequences\Sequence.js:83:24)
at Query._handleFinalResultPacket (D:\express-learn\node_modules\mysql\lib\protocol\sequences\Query.js:139:8)
at Query.EofPacket (D:\express-learn\node_modules\mysql\lib\protocol\sequences\Query.js:123:8)
at Protocol._parsePacket (D:\express-learn\node_modules\mysql\lib\protocol\Protocol.js:278:23)
at Parser.write (D:\express-learn\node_modules\mysql\lib\protocol\Parser.js:76:12)
at Protocol.write (D:\express-learn\node_modules\mysql\lib\protocol\Protocol.js:38:16)
at Socket. (D:\express-learn\node_modules\mysql\lib\Connection.js:91:28)