-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
数据库的备份和导入怎么操作呢,有相关资料或插件名吗 #2
Comments
新建数据库“weapp-vue-eggjs-shop-demo”,如果你密码和我配置的不一样,那需要修改下项目里面的config.default.js,我默认写的是我的密码,然后app-server目录下运行“npm run db:up”,就可以迁移数据库,初始化表和建了一个管理员账号 |
非常感谢 |
你好,我在mysql里面建表的时候,报了这个错,能帮我看看?我对数据库不熟,谢谢 |
@testone1515 这样试一下可以么:create database `weapp-vue-eggjs-shop-demo` |
谢谢,现在好了。 |
你好我是先新建数据库,然后定位到server_eggjs目录,输入 npm run db:up就会报错
npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: |
@Richardsh 是不是没安装sequelize-cli,请参考官方文档:https://eggjs.org/zh-cn/tutorials/sequelize.html |
家人们我找出原因了感谢 |
数据库的备份和导入怎么操作呢,有相关资料或插件名吗
The text was updated successfully, but these errors were encountered: