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
ghost install local is automatically setting MySQL:
"database": {
"client": "mysql"
}
And then erroring:
✔ Setting up instance
✖ Running database migrations
An error occurred.
Message: 'The server has encountered an error.'
Debug Information:
Node Version: v6.10.3
Ghost-CLI Version: 1.0.0-beta.6
Environment: development
Command: 'ghost install local'
Additional log info available in: /Users/hannah/.ghost/logs/ghost-cli-debug-2017-07-09T16_03_15_655Z.log
Log file contents
An error occurred.
Message: 'The server has encountered an error.'
Stack: InternalServerError: The server has encountered an error.
at new KnexMigrateError (/Users/hannah/Ghost/Ghost-CLI/node_modules/knex-migrator/lib/errors.js:7:26)
at /Users/hannah/Ghost/Ghost-CLI/node_modules/knex-migrator/lib/database.js:58:19
at tryCatcher (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:689:18)
at Async._drainQueue (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/Users/hannah/Ghost/Ghost-CLI/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)
Error: ER_DBACCESS_DENIED_ERROR: Access denied for user ''@'localhost' to database 'undefined'
at Query.Sequence._packetToError (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14)
at Query.ErrorPacket (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/protocol/sequences/Query.js:77:18)
at Protocol._parsePacket (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/protocol/Protocol.js:280:23)
at Parser.write (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/protocol/Parser.js:75:12)
at Protocol.write (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/protocol/Protocol.js:39:16)
at Socket.<anonymous> (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/Connection.js:103:28)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:547:20)
--------------------
at Protocol._enqueue (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/protocol/Protocol.js:141:48)
at Connection.query (/Users/hannah/Ghost/Ghost-CLI/node_modules/mysql/lib/Connection.js:208:25)
at /Users/hannah/Ghost/Ghost-CLI/node_modules/knex/lib/dialects/mysql/index.js:152:18
at Promise._execute (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/debuggability.js:300:9)
at Promise._resolveFromExecutor (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:483:18)
at new Promise (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:79:10)
at Client_MySQL._query (/Users/hannah/Ghost/Ghost-CLI/node_modules/knex/lib/dialects/mysql/index.js:146:12)
at Client_MySQL.query (/Users/hannah/Ghost/Ghost-CLI/node_modules/knex/lib/client.js:197:17)
at Runner.<anonymous> (/Users/hannah/Ghost/Ghost-CLI/node_modules/knex/lib/runner.js:146:36)
at Runner.tryCatcher (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/util.js:16:23)
at Runner.query (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/method.js:15:34)
at /Users/hannah/Ghost/Ghost-CLI/node_modules/knex/lib/runner.js:65:21
at tryCatcher (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/util.js:16:23)
at /Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/using.js:185:26
at tryCatcher (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/Users/hannah/Ghost/Ghost-CLI/node_modules/bluebird/js/release/promise_array.js:144:14)
Code: ER_DBACCESS_DENIED_ERROR
The text was updated successfully, but these errors were encountered:
ghost install local
is automatically setting MySQL:"database": {
"client": "mysql"
}
And then erroring:
Log file contents
The text was updated successfully, but these errors were encountered: