0|rd |
0|rd | Error: connect ENOENT /tmp/mysql.sock
0|rd | at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
0|rd | --------------------
0|rd | at Protocol._enqueue (/root/dataTrading-rd/node_modules/mysql/lib/protocol/Protocol.js:144:48)
0|rd | at Protocol.handshake (/root/dataTrading-rd/node_modules/mysql/lib/protocol/Protocol.js:51:23)
0|rd | at PoolConnection.connect (/root/dataTrading-rd/node_modules/mysql/lib/Connection.js:116:18)
0|rd | at Pool.getConnection (/root/dataTrading-rd/node_modules/mysql/lib/Pool.js:48:16)
0|rd | at Pool.query (/root/dataTrading-rd/node_modules/mysql/lib/Pool.js:202:8)
0|rd | at /root/dataTrading-rd/node_modules/co-mysql/index.js:23:13
0|rd | at new Promise (<anonymous>)
0|rd | at Object.o.query (/root/dataTrading-rd/node_modules/co-mysql/index.js:14:13)
0|rd | at /root/dataTrading-rd/routers/api/index.js:64:31
0|rd | at dispatch (/root/dataTrading-rd/node_modules/koa-router/node_modules/koa-compose/index.js:44:32)
0|rd |
linux上mysql好像是连接不上
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…