Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
557 views
in Technique[技术] by (71.8m points)

linux mysql报错

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好像是连接不上


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...