我正在尝试将mysql数据库迁移到heroku cleardb中。我在做节点服务。
我的密码是,
knexfile.js文件
production: {
client: "mysql",
connection: {
host: "us-cdbr-iron-east-04.cleardb.net",
user: "bcf521a*******",
password: "9282****",
database: "heroku_9c9d767dbb*****"
}
}
在heroku中,使用cleardb\u database\u url.it done设置配置。当我想跑的时候
heroku run node_modules/.bin/knex migrate:latest
Running node_modules/.bin/knex migrate:latest on ⬢ hidden-taiga-65640
... up, run.7007 (Free)
Using environment: production
终端错误显示,
knex: Required configuration option 'client' is missing
如何解决?
暂无答案!
目前还没有任何答案,快来回答吧!