Open Dexinser opened 4 years ago
数据库用的是mysql 8.0
------------------ 原始邮件 ------------------ 发件人: "Dexinser"<notifications@github.com>; 发送时间: 2020年3月24日(星期二) 下午5:02 收件人: "layverns/eshop-server"<eshop-server@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [layverns/eshop-server] 运行不起来呢 (#1)
$ npx sequelize db:create
Sequelize CLI [Node: 10.15.3, CLI: 5.4.0, ORM: 5.8.4]
Loaded configuration file "config/config.json". Using environment "development".
ERROR: Dialect sqlite does not support db:create / db:drop commands
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
数据库用的是mysql 8.0 … ------------------ 原始邮件 ------------------ 发件人: "Dexinser"<notifications@github.com>; 发送时间: 2020年3月24日(星期二) 下午5:02 收件人: "layverns/eshop-server"<eshop-server@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [layverns/eshop-server] 运行不起来呢 (#1) $ npx sequelize db:create Sequelize CLI [Node: 10.15.3, CLI: 5.4.0, ORM: 5.8.4] Loaded configuration file "config/config.json". Using environment "development". ERROR: Dialect sqlite does not support db:create / db:drop commands — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
是8.0呀
λ mysql --version mysql Ver 8.0.19 for Win64 on x86_64 (MySQL Community Server - GPL)
你是在windows环境吗,试试Linux,我是在mac下开发的
------------------ 原始邮件 ------------------ 发件人: "Dexinser"<notifications@github.com>; 发送时间: 2020年3月25日(星期三) 下午2:55 收件人: "layverns/eshop-server"<eshop-server@noreply.github.com>; 抄送: "layverns"<348605879@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [layverns/eshop-server] 运行不起来呢 (#1)
数据库用的是mysql 8.0 … ------------------ 原始邮件 ------------------ 发件人: "Dexinser"<notifications@github.com>; 发送时间: 2020年3月24日(星期二) 下午5:02 收件人: "layverns/eshop-server"<eshop-server@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [layverns/eshop-server] 运行不起来呢 (#1) $ npx sequelize db:create Sequelize CLI [Node: 10.15.3, CLI: 5.4.0, ORM: 5.8.4] Loaded configuration file "config/config.json". Using environment "development". ERROR: Dialect sqlite does not support db:create / db:drop commands — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
是8.0呀
λ mysql --version mysql Ver 8.0.19 for Win64 on x86_64 (MySQL Community Server - GPL)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
$ npx sequelize db:create
Sequelize CLI [Node: 10.15.3, CLI: 5.4.0, ORM: 5.8.4]
Loaded configuration file "config/config.json". Using environment "development".
ERROR: Dialect sqlite does not support db:create / db:drop commands