You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 2, 2020. It is now read-only.
I am setting up badgekit. I have searched all over for a fix but I can't find one. The closest I have come is this unresolved one on google groups [forums].(https://groups.google.com/forum/#!topic/openbadges-dev/9Co00QhSL4c) I am trying to run this command 'bin/db-migrate up' However, I get the following error:
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: 'xxx.xxx.xxx.xxx',
port: 3306,
fatal: true }
[ERROR] Error: connect ECONNREFUSED xxx.xxx.xxx.xxx:3306
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at TCPConnectWrap.afterConnect as oncomplete
--------------------
at Protocol._enqueue (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/protocol/Protocol.js:110:26)
at Protocol.handshake (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/protocol/Protocol.js:42:41)
at Connection.connect (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/Connection.js:81:18)
at Connection._implyConnect (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/Connection.js:222:10)
at Connection.query (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/Connection.js:137:8)
at Class.Base.extend.runSql (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/lib/driver/mysql.js:246:34)
at Class.Base.extend.createTable (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/lib/driver/mysql.js:144:10)
at Class.module.exports.Class.extend.createMigrationsTable (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/lib/driver/base.js:72:10)
at /var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/app/lib/migrations.js:16:23
at /var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/index.js:10:5
`
I am setting up badgekit. I have searched all over for a fix but I can't find one. The closest I have come is this unresolved one on google groups [forums].(https://groups.google.com/forum/#!topic/openbadges-dev/9Co00QhSL4c) I am trying to run this command 'bin/db-migrate up' However, I get the following error:
`{ [Error: connect ECONNREFUSED xxx.xxx.xxx.xxx:3306]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect',
address: 'xxx.xxx.xxx.xxx',
port: 3306,
fatal: true }
[ERROR] Error: connect ECONNREFUSED xxx.xxx.xxx.xxx:3306
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at TCPConnectWrap.afterConnect as oncomplete
--------------------
at Protocol._enqueue (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/protocol/Protocol.js:110:26)
at Protocol.handshake (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/protocol/Protocol.js:42:41)
at Connection.connect (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/Connection.js:81:18)
at Connection._implyConnect (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/Connection.js:222:10)
at Connection.query (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/mysql/lib/Connection.js:137:8)
at Class.Base.extend.runSql (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/lib/driver/mysql.js:246:34)
at Class.Base.extend.createTable (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/lib/driver/mysql.js:144:10)
at Class.module.exports.Class.extend.createMigrationsTable (/var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/lib/driver/base.js:72:10)
at /var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/app/lib/migrations.js:16:23
at /var/www/steelpanwebsite.com/public_html/BadgeKit/badgekit-api/node_modules/db-migrate/index.js:10:5
`