eshop-server icon indicating copy to clipboard operation
eshop-server copied to clipboard

运行不起来呢

Open Dexinser opened this issue 5 years ago • 4 comments

$ 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

Dexinser avatar Mar 24 '20 09:03 Dexinser

数据库用的是mysql 8.0 

------------------ 原始邮件 ------------------ 发件人: "Dexinser"<[email protected]>; 发送时间: 2020年3月24日(星期二) 下午5:02 收件人: "layverns/eshop-server"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [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.

layverns avatar Mar 25 '20 06:03 layverns

数据库用的是mysql 8.0  ------------------ 原始邮件 ------------------ 发件人: "Dexinser"<[email protected]>; 发送时间: 2020年3月24日(星期二) 下午5:02 收件人: "layverns/eshop-server"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [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)

Dexinser avatar Mar 25 '20 06:03 Dexinser

你是在windows环境吗,试试Linux,我是在mac下开发的

------------------ 原始邮件 ------------------ 发件人: "Dexinser"<[email protected]>; 发送时间: 2020年3月25日(星期三) 下午2:55 收件人: "layverns/eshop-server"<[email protected]>; 抄送: "layverns"<[email protected]>; "Comment"<[email protected]>; 主题: Re: [layverns/eshop-server] 运行不起来呢 (#1)

数据库用的是mysql 8.0  … ------------------ 原始邮件 ------------------ 发件人: "Dexinser"<[email protected]>; 发送时间: 2020年3月24日(星期二) 下午5:02 收件人: "layverns/eshop-server"<[email protected]>; 抄送: "Subscribed"<[email protected]>; 主题: [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.

layverns avatar Mar 25 '20 15:03 layverns