收藏
回答

小程序腾讯云不能用

问题模块
开发者工具

npm WARN koa-weapp-demo@1.0.0 No repository field.

开始初始化数据库...

准备读取 SQL 文件:C:\Users\刘兵\Desktop\wafer2-startup\server\tools\cAuth.sql

开始执行 SQL 文件...

Unhandled rejection Error: Error: connect ECONNREFUSED 127.0.0.1:3306

    at DB.raw.then.err (C:\Users\刘兵\Desktop\wafer2-startup\server\tools\initdb.js:40:11)

    at tryCatcher (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\util.js:16:23)

    at Promise._settlePromiseFromHandler (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:512:31)

    at Promise._settlePromise (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:569:18)

    at Promise._settlePromise0 (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:614:10)

    at Promise._settlePromises (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\promise.js:689:18)

    at Async._drainQueue (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:133:16)

    at Async._drainQueues (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:143:10)

    at Immediate.Async.drainQueues (C:\Users\刘兵\Desktop\wafer2-startup\server\node_modules\bluebird\js\release\async.js:17:14)

    at runCallback (timers.js:672:20)

    at tryOnImmediate (timers.js:645:5)

    at processImmediate [as _immediateCallback] (timers.js:617:5)


最后一次编辑于  2017-09-19  (未经腾讯允许,不得转载)
邀请回答
复制链接收藏关注问题回答